Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .rbenv-vars.template

This file was deleted.

17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ npm install
docker compose up -d
rails db:setup

# setup local env vars
cp .rbenv-vars.template .rbenv-vars

# launch the server
bin/dev

Expand All @@ -55,8 +52,18 @@ export API_URL=http://localhost:3001/api
cherry backfill --api-key=28ea02ee-c6e5-4e5f-b2b6-690c4cd6ca2f # Copy command from http://localhost:3001/user/projects
```

> The env vars step above assumes you're using the rbenv-vars plugin. If you don't have it installed, check their docs
> [here](https://github.com/rbenv/rbenv-vars) or use an alternative method to load your environment variables.
> Secrets are stored in `config/credentials.yml.enc`. To decrypt them you need `config/master.key` (or the
> `RAILS_MASTER_KEY` env var) — ask a maintainer for it.

### Heroku shortcuts (parity)

The [`parity`](https://github.com/thoughtbot/parity) gem provides shortcuts like `production console`,
`production logs`, and `development restore production` to sync the prod database into dev. It expects a git remote
named after each environment:

```sh
heroku git:remote -r production -a cherrypush-production
```

## Contributing

Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading