Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
<!-- This page is created automatically by a script.This part is commented and shall not show--><!--At the top of the page can be visible one of the following tags..--> {{WorkInProgress}}<!--{{NeedsUpdate}}--><!--{{NeedsMerge | [[Main Page]]}}--><!--{{NeedsExpantion}}--><!--{{NeedsDelete |[[Main Page]]}}--><!--Please remove or place comment accordingly--> '''This page is being edited actively and a lot of sections are missing currently; feel free to help improving it.'''
=Current state=
* some Ruby gems will not install without some manual work before.
* scrypt gem has been remove because of this issues:- <nowiki>https://github.com/pbhogan/scrypt/issues/23</nowiki>
** update there is now a amahi/scrypt that will be used, -msse & -msse2 command line parameters have been removed.
* Nokogiri the An HTML, XML, SAX, & Reader parser with the ability to search documents via XPath. must use '--use-system-libraries'.
:[[File:{{MessageBox| image = Important.png|35px40px| style = width: 300px; | textstyle = color: red; font-weight: bold; font-style: italic;|left]] heading = Danger of Data Loss / System Damage !<br />The selected device will be overwritten. | message = '''If you select the wrong device, you may lose data. Exercise care extreme caution when using dd.'''| backgroundcolor = Orange}}
Steps:
# Download the image.
# Set root password.
# Set location.
# check resize root.
# Do not set a swap file.
# Set hostname (leave as default).
##enter the root password (not the one from the first user)
##<code>yum groupinstall 'Development Tools'</code>, or for a shorter install do:
##* <code>yum -y install make git mysql-devel sqlite-devel mysql-server gcc-c++ tar rpm-build</code>##* <code>yum -y install ruby ruby-devel libxml2-devel libxslt-develrake</code>
##<code>systemctl start mysqld.service</code>
## <code>gem install bundler</code>
# <code>git clone <nowiki>https://github.com/mattman73/platform.git</nowiki></code>
# <code>cd platform</code>
# <code>gem install rake -v '10.3.2'</code>
# <code>bundle config build.nokogiri --use-system-libraries</code>
# <code>bundle install</code> (this will take a while and install all the necessary gems)
# <code>rake db:migrate</code> (this will get the database up to snuff)
# <code>rake db:seed</code> (this will get a basic database setup)
# Reboot the Raspberry Pi# login as root# <code>systemctl start mysqld.service</code># login as regular.# change path to platform folder.# <code>rails s </code> (this will start the rails server)
12,424

edits