Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

72 lines (45 sloc) 2.08 kB


Experimental personal space for niche social networking

local hacking

  1. git clone this repo
  2. cd into that directory
  3. npm install
  4. 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
  5. cp server/etc/config.js-dist server/etc/config.js

    Make sure your mysql username and password details are updated.

  6. npm start

  7. Visit http://localhost:9714

awsbox hacking

  1. git clone this repo
  2. cd into that directory
  3. npm install
  4. Get your aws creds into your environment:

    export AWS_ID=your_aws_id
    export AWS_SECRET=your_aws_secret
  5. Deploy!

    node_modules/.bin/awsbox create -n roomr
  6. 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.

Jump to Line
Something went wrong with that request. Please try again.