Difference between revisions of "UbuntuWorkingNotes"

From Amahi Wiki
Jump to: navigation, search
(added a "how to install on desktop edition" part)
m (explanation of error)
Line 20: Line 20:
  
 
This should start the HTTP server on your machine, accessible through http://localhost:3000/
 
This should start the HTTP server on your machine, accessible through http://localhost:3000/
For now it displays an error on my machine (NoMethodError in FrontController#index).
+
For now it displays an error on my machine (NoMethodError in FrontController#index), probably due to the fact that my machine doesn't have any domain name associated with.

Revision as of 21:34, 18 June 2009

  • when ubuntu mysql installs, it sets the sockets to something that Amahi won't recognize. Either the amahi settings need to be changed (preferable) or the mysql settings need to be changed (haven't made this work yet). UPDATE: I made the change to /etc/mysql/my.cnf and /etc/mysql/debian.cnf files and it still didn't work. Not sure what changes still have to be made. UPDATE: Ugly hack that makes it work: sudo ln -s /var/run/mysqld/mysqld.sock /var/lib/mysql/mysql.sock It's ugly but it works for now.
  • sudo apt-get install rails git-core. This will fetch git, ruby and everything else that it needs.
  • git clone git://git.amahi.org/amahi.git
  • cd amahi/platform/platform/html
  • rake db:create
  • rake db:migrate
  • ./script/server This should now make the Amahi dashboard work. Not much else will, but it's a start.


Installing on a Ubuntu 9.04 desktop edition

  • sudo su
  • apt-get install rails git-core mysql-server mysql-client

>> set mysql password to "hda"

  • cd amahi/platform/platform/html
  • gem install -v=2.1.1 rails
  • rake db:create
  • rake db:migrate
  • ./script/server

This should start the HTTP server on your machine, accessible through http://localhost:3000/ For now it displays an error on my machine (NoMethodError in FrontController#index), probably due to the fact that my machine doesn't have any domain name associated with.