This project is a Rails application used to SOMETHING.
To run this project you need to have:
- Ruby 2.2.1 - 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 dependencies above
$ git clone <REPOSITORY_URL> lowmoss
- Clone the project$ cd lowmoss
- Go into the project folder$ bin/setup
- Run the setup script$ bin/rspec
- 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
master
branch $ 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
master
branch $ git checkout production
- Checkout toproduction
branch (this branch must be calledproduction
)$ git merge master
- Merge the changes frommaster
branch (don't use rebase here)$ bundle exec rake integrate:production
- Deploy everything to your production app$ git push -u origin production
- Send your changes toorigin
remote and set the upstream$ git checkout master
- Checkout tomaster
branch (so you don't commit directly onproduction
branch)
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.
Generated with PAH, an open source project created and maintained by HE:labs.