This is the software behind the soon.rip website. See the github wiki for background information.
You can run this app for development purposes in Docker Compose.
Install Docker and Docker Compose. On MacOS, use Docker for Mac.
- Copy
.env.web.sample
to.env.web
- Edit
.env.web
to add your settings. Ask if unsure of what to put in here. docker-compose build
to download and build the images. This will take a couple minutes and downloads ~600MB, but you should only have to do it once. Re-build is necessary when new gems are installed, but that will only need to download the new gems.docker-compose run web rake db:create
to create the database (one-time)docker-compose run web rake db:migrate
to migrate the database (re-do whenever there are new db migrations)docker-compose up
in the same directory as docker-compose.yml to run the server (ctrl-c to stop. run command again to restart the server)- The app can be accessed at http://localhost:3000
- The project files are mounted in to the container so any changes to the host filesystem should be reflected in the container.
- This article provides good info about the setup/workflow
This site was developed during SUSE Hack Week Feb 2017