This project is a Rails application used to SOMETHING.
Modificação 2
To run this project you need to have:
- Ruby 2.1.2 - You can use RVM
- PostgreSQL
- OSX - Postgress.app
- Linux -
$ sudo apt-get install postgresql - Windows - PostgreSQL for Windows
If you plan to integrate this project to Heroku, you'll need:
- Install the depedencies above
$ git clone <REPOSITORY_URL> jumpup-test- Clone the project$ cd jumpup-test- Go into the project folder$ bundle install- Install the gem dependencies$ bundle exec rake db:setup- Setup the database$ bundle exec rake spec- Run the specs to see if everything is working fine
If everything goes OK, you can now run the project!
You can see an example here: http://showterm.io/6a0054fb8b6b53a56ef2c#slow
$ bundle exec foreman start- Opens the server- Open http://localhost:3000
$ bundle exec rake spec to run the specs.
$ coverage=on bundle exec rake spec to generate the coverage report then open the file coverage/index.html on your browser.
- You are working on
masterbranch $ bundle exec rake integrate- Deploy everything to your app- Check if the changes are working on Heroku
You can see an example here: http://showterm.io/a4f25718904e532b321ad#slow
This is only applicable if you have two apps on Heroku (staging and production).
First, check of your project has the correct configuration from jumpup-heroku.
- You are working on
masterbranch $ git checkout production- Checkout toproductionbranch (this branch must be calledproduction)$ git merge master- Merge the changes frommasterbranch (don't use rebase here)$ bundle exec rake integrate:production- Deploy everything to your production app$ git push -u origin production- Send your changes tooriginremote and set the upstream$ git checkout master- Checkout tomasterbranch (so you don't commit directly onproductionbranch)
master branch (or in a feature branch), never on production branch! The only thing you do on production is merging the changes from master and deploying to Heroku.
This app was created and is maintained by HE:labs.
