Changes

From Amahi Wiki
Jump to: navigation, search
187 bytes added ,  00:57, 15 September 2015
no edit summary
{{MessageBox|
backgroundcolor = #faa|
image =Warning.png|
heading =WARNING|
message = Amahi 7 for Fedora 19<br />Maintenance Support ONLY!}}
Amahi "edge" is the developer version of Amahi, with the very latest and greatest code in it.
Amahi Edge is the developer version of Amahi, with the very latest and greatest code in it. It lives in a the master branch of the Amahi Git git repo, called  at https://github.com/amahi-edge/platform
This page is about working notes for the latest in the development tree.
= How to Get Amahi Edge Running =
This procedure is the way to get Amahi 7 running in development. It assumes you have This has been tested with a clean Fedora 17 19 minimal install from the netinst DVD (generally without updates), though it can be done on Mac OS X as well:
# open a terminal window
# If you are running Fedora, do this as Root (<code>su</code>):
##enter the root password (not the one from the first user)
##<code>yum groupinstall 'Development Tools'</code>##* , or for a shorter installdo: ##* <code>yum -y install ruby ruby-devel make git libxml2mysql-devel libxsltsqlite-devel mysql-server gcc-c++ tar rpm-build</code>##* <code>yum -y install ruby ruby-devel sqlitelibxml2-devel mysqllibxslt-serverdevel</code>
##<code>systemctl start mysqld.service</code>
## <code>gem install bundler</code>
# exit the root user and use a regular user. you will need to reinstall fedora if you skip this step :(
# download if you are running on Mac OS X, install git, mysql, probably homebrew as well# we suggest you create a new folder to put the [httpsamahi development code, then in it run://dl.dropbox# <code>git clone git@github.com:amahi/uplatform.git</364883/Amahi/121016-amahi-7.tar.bz2 latest tarball]# extract the tarball into your user folder use tar or your file manager-extract functioncode># <code>cd ~/amahi-7platform</code># <code>bundle install</code> (this will take a while and install all the necessary gems)
# <code>rake db:create</code> this will ask for the mysql root password with a prompt ">"
#* if this is a fresh Fedora 17 18 install, your mysql server probably does not have a password, so just press Enter
#* if you set a password for the mysql root user, type it. Note that it will show a warning and echo the password!
#* if you are re-running this step and the db is already created, you can run rake db:drop first then create it again
To stop the development server, just hit <code>Ctrl+C</code> in the terminal where you started the server.
== hdactl packages == The next step is getting hdactl running. Here are two binaries, compiled on Fedora 17, for [http://alpha.amahi.org/tmp/hdactl-4.2.0-1.i686.rpm 32bits] and [http://alpha.amahi.org/tmp/hdactl-4.2.0-1.x86_64.rpm 64bits].  == Runing Running Tests ==
A great way to contribute is to write tests. The spec tests are in the <code>spec/</code> directory. To run them:
to get things to run properly for some reason that we did not root cause yet.
= Old , obsolete info for Amahi 6 =
First you need to get the latest git repository (see how on the [[Contribute]]-page)
12,424

edits