Help an institution that helps other people. They got a lot of bills to pay and we got a lot of ideas to share.
- MongoDB is required.
- Start mongo server
$ path/to/mongo/mongod
; - Run the application using shotgun
$ shotgun
; - Go to localhost:9393;
- Run
$ rake db:seed
to create one single bill for testing - Run
$ rake db:seed[n]
to createn
bills $ rake -T
will list all available tasks
I'd recommend using AppFog
- Create an account on AppFog;
- Install Appfog gem
af
; - Using your command line shell, go to directory where your forked billbo repository is;
- Login in your Appfog account running
$ af login
; - Run
$ af push [appname] --runtime ruby193
and follow the instructions to create the app; - Once it's created, go to AppFog console and install the MongoLab Add-on;
- In the Services tab add a MongoDB service;
- Then run
$ af update [appname]
and make sure your app restarted; - If you're allowed to push to the original repository (thoughtworks/billbo), deployment will be automatic after each push and can be checked on billbo.aws.af.cm;
- Check out our Trello board;