Skip to content

Latest commit

 

History

History
68 lines (38 loc) · 1.17 KB

README.rdoc

File metadata and controls

68 lines (38 loc) · 1.17 KB

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

get backup from s3 $ psql digiramp_development < /Users/synthmax/Documents/rails-projects/digiramp/digiramp-rails/PostgreSQL.sql

  • How to run the test suite

$ rake db:test:prepare $ cucumber

  • Sidekiq

  • Services (job queues, cache servers, search engines, etc.)

$ bundle exec sidekiq $ redis-server /usr/local/etc/redis.conf

  • Redis

redis-server

  • Deployment instructions

$ git push origin master $ cap production deploy

  • log the server

cap production “logs:tail” cap production “logs:tail” <<< IMPORTANT if there is problems

Please feel free to use a different markup language if you do not plan to run rake doc:app.

Test on localhost

$ rake RAILS_ENV=production assets:clean $ rake RAILS_ENV=production assets:precompile $ thin -e production start

#start sicekiq $ ssh [email protected] $ cd apps/digiramp_production/current $ RAILS_ENV=production bundle exec sidekiq

78.46.19.136:2812