-
Generate a SSH key-pair.
-
Place the private and the public key in the
config/keysfolder. The keys are expected to be namedid_rsaandid_rsa.pub. -
Run
bundle install. -
Create indexes:
bundle exec rails runner 'Delayed::Backend::Mongoid::Job.create_indexes'
You can use Foreman to run this application (there is a Procfile for development placed in the root directory):
bundle exec foreman start
The server should have the following .ssh configuration (~/.ssh/config):
Host *
StrictHostKeyChecking no
I know that it's terrible, but is enough for me at this moment :). Perhaps the solution described in http://serverfault.com/a/316100 will be better.