Rails application running www.pirateparty.org.nz.
Then once you have cloned the repo and changed your working directory into it,
$ vagrant up
And then SSH into it when it has started:
$ vagrant ssh
You now have the choice to run a Rails test web server directly or to run a
Docker container with Nginx/Passenger.
Before running Rails directly, you need to install the dependencies.
$ bundle install
And then you can start the server:
$ bin/rails s
By default, the server is available at
https://127.0.0.1:3000 both in the VM
and on your host.
Alternatively, to run the site in Docker you must first build the container:
$ docker build -t www-rails .
And then you can run a container:
$ docker run -p 80:80 -e "SECRET_KEY_BASE=$(bin/rake secret)" www-rails