- nginx as web server, config/nginx.conf is my nginx configuration snippet.
- requires memcached 1.4+
- run
sudo apt-get install memcached
if you haven't installed memcached - run
bundle install
- rename
config/app_config.example.yml
toconfig/app_config.yml
- rename
config/secrets.yml.default
toconfig/secrets.yml
- run
rake db:migrate
to create database - run
rake secret
to generate session secret key and fill it insecrets.yml
- run
rake assets:precompile RAILS_ENV=production
to precompile assets - then run
rails s
orpuma -C config/puma.rb
or something else to start the rails project