The agnostic Rails API that powers the Draft Chrome extension, Angular web and mobile applications.
- Clone the repo
- Start MongoDB daemon
- Start Redis server
- Create your
config/secrets.yml
config file - Start the Rails server via
rails server or rails s
To install Puma:
gem install puma -v '3.6.0' -- --with-opt-dir=/usr/local/opt/openssl
You Should create a file under config
directory for your application secrets. It should conform to the following style:
development: &development
secret_key_base: token
production:
secret_key_base: token
test:
<<: *development
github_client_id: token
github_client_secret: token