Experimental personal space for niche social networking
https://etherpad.mozilla.org/experiments-rooms
http://www.flickr.com/photos/ozten/tags/rooms/
-
git clone
this repo -
cd
into that directory -
npm install
-
Setup a database, granting roomr permissions to create and destroy tables
$ mysql -u root -ppassword mysql> create user 'roomr'@'localhost' identified by 'roomr'; mysql> grant all on *.* to 'roomr'@'localhost'; mysql> create database dev_roomr; mysql> quit $ foreach schema (`ls -1 server/db`) mysql -u root -ppassword dev_roomr < $schema end
-
cp server/etc/config.js-dist server/etc/config.js
Make sure your mysql username and password details are updated.
-
npm start
-
Visit http://localhost:9714
-
git clone
this repo -
cd
into that directory -
npm install
-
Get your aws creds into your environment:
export AWS_ID=your_aws_id export AWS_SECRET=your_aws_secret
-
Deploy!
node_modules/.bin/awsbox create -n roomr
-
Push code to start server:
git push roomr master
Now hack and make branches and be happy. When you want to test something, git push
it to roomr
and the server will be updated with your changes.
Note that this will currently push all the schema updates in server/db
on
creation, but any subsequent updates will not have any effect with git pushes.
You will have to implement them manually by ssh'ing to app@your_ip
, invoking
mysql -u roomr
, and making the updates yourself.
If that seems too laborious, just delete the awsbox instance and create another :)
If you forget your awsbox ip address, you can get it from git remote -v
.