markahon / animal-instinct-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Animal instinct

Development

  • Go to path and let rvm install gemset and right ruby version.
  • bundle install

Troubleshooting

Error

An error occurred while installing libv8 (3.16.14.7), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.16.14.7'` succeeds before bundling.

OR

An error occurred while installing therubyracer (0.12.2), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.12.2'` succeeds before bundling.

Solution

Running the Application

  • For In development use foreman to run: foreman start. This also starts sidekiq to handle background processes.
  • You can also configure RubyMine to run foreman: blog article
  • When started, go to http://lvh.me:3000 or http://0.0.0.0:3000 for application

Deployment to proudction

  • Is done with capistrano gem. For production deploy, do cap production deploy
  • See config/deploy.rb and config/deploy/* for more detail about deployment.

About


Languages

Language:Ruby 57.5%Language:CSS 31.7%Language:HTML 9.1%Language:JavaScript 1.3%Language:CoffeeScript 0.5%