Public | Automated Build

Last pushed: 2 years ago
Short Description
Website that will run
Full Description


Rails application running


First you need to install VirtualBox
and Vagrant.

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 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
Docker Pull Command
Source Repository