$ docker-compose up
$ bundle install
$ yarn install
$ rails db:setup
$ rails server
$ heroku run rails db:seed
And remember to update the password for each user mentioned in db/seeds.rb
.
$ cp env.sample .env
And then fill in the required values on .env
.
A Slack hook is used (only in production) to send peculiar events to a Slack room. See the documentation for more information:
https://socialmarket-it.slack.com/messages/GH1TB9HJP/
An access token (post_server_item
) is needed to notify application errors:
https://rollbar.com/olistik/socialmarket/settings/access_tokens/
Save all the above mentioned ENV variables on Heroku so that they're available in production: