- Clone the git repository to a location of your choice
- Install gems by running
bundle install --without development test
- Copy example config from
config/appconfig.example.yml
toconfig/appconfig.yml
and adjust to your preferences - Create a session secret for Rack::Session:Cookie by running
bundle exec rake session:invalidate
- Run the application:
RACK_ENV="production" bundle exec rackup
- Setup Apache or nginx as reverse proxy with SSL and stuff.
- Remember to access the application using the
localhost.localdomain
URL, otherwise you will have cookie problems - Install development and test gems by running
bundle install --with development test
- Run the application via
bundle exec shotgun config.ru
to enable auto-reloading of all files at runtime