This app showcases the Todos example from Ember.js using Webmachine and MySQL as backend.
Simply clone the project and then run make:
$ git clone git://github.com/videlalvaro/todos_hackday.git todos $ cd todos $ make
Then create your own configuration file by copying the sample one and then editing the MySQL configuration:
$ cp ./priv/hackday.conf.sample ./priv/hackday.conf
Create the following table:
CREATE TABLE `todo` ( `slug` char(32) NOT NULL, `title` varchar(256) DEFAULT NULL, `isDone` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`slug`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
Cd into the
todos folder and run the following command:
Then open http://localhost:8000.