Rails application for Oceano. Interfaces with the Escapia SOAP API for data.
Staging Server: http://159.203.67.43
bin/setup # Bundle and clean up
bundle exec foreman start # Start the Rails server
open http://localhost:5000 # Open in web browser
or in development simply run docker-compose up --build
as long as you have docker and docker-compose installed.
Once the docker image is built you will have to run
docker-compose exec rails bundle exec rake assets:precompile
before the page will load.
Name | Description |
---|---|
web |
Rails application. |
Run an indivual process with:
bundle exec foreman start <PROCESS_NAME>
Reset property cache with:
bundle exec rake oceano:cache:properties
Reset Forecast.io cache with:
bundle exec rake oceano:cache:weather
Deploy to Staging with:
bundle exec cap staging deploy
I like to use the docker setup from the run_master_in_docker branch, copy my ssh keys into the rails docker container, so I don't have to remember the password to the server's deploy user.