Part 2 of the Gemnasium workshop at dotRB2013.
The easiest way is to fork the dotrb2013 project on GitHub:
- sign up on Gemnasium using your GitHub account
- fork the dotrb2013 on GitHub
- add your fork on Gemnasium
- have a look at the dependencies!
You can also simulate a private project:
- sign up on Gemnasium using your GitHub account
- ask for a trial account to Philippe
- create a "dotrb2013" project on gemnasium
- get an API key from the Gemnasium web interface
- clone the dotrb2013 project on your laptop
- install the gemnasium gem
- create the
gemnasium.yml
config file - push to gemnasium using
gemnasium push
- have a look at the dependencies!
- choose the dependency you want to update
- start the rails container in console mode
- update the dependency and check if it works
- commit the container, create a new image
- create an account on docker index
- publish your docker image
Commands
bundle update
docker push
There is a "development" branch on GitHub and it has new features. But it requires you run a few database migrations. How can we leverage our containers to switch between the "master" branch and the "development" branch "in no time"?