Difference between revisions of "UbuntuWorkingNotes"

From Amahi Wiki
Jump to: navigation, search
(Temporary fix to rake db command failures)
(Amahi dashboard now functional)
Line 6: Line 6:
 
* rake db:create
 
* rake db:create
 
* rake db:migrate
 
* rake db:migrate
 +
* ./script/server  This should now make the Amahi dashboard work. Not much else will, but it's a start.

Revision as of 17:04, 25 March 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. This will fetch ruby and everything else that it needs.
  • git clone
  • 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.