You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update README.md
Removed
- Heroku DB setup section (since it's no longer free).
Added
- Section for setting up local DB.
- Some other minor details.
* Minor grammer fixes
---------
Co-authored-by: vaibhav bisht <vaibhav@aus.co.in>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
3. Now open your psql shell with the DB you created: `psql -h localhost -U postgres -d <DB name>`
180
177
181
-
4.Once you clicked on `Configure Add-ons`, click on `Find more add-ons` and search for `postgres`. One of the options will be `Heroku Postgres` - click on that option.
If you don't want to create a local DB. Then you can also consider using services like railway.app or render.
187
+
-[Setup postgres DB with railway.app](https://arctype.com/postgres/setup/railway-postgres)
188
+
-[Setup postgres DB with render](https://render.com/docs/databases)
193
189
194
-
8. To view your DB, once you add new data in Prisma, you can use [Heroku Data Explorer](https://heroku-data-explorer.herokuapp.com).
195
-
</details>
190
+
1. Copy and paste your `DATABASE_URL` from `.env` to `.env.appStore`.
196
191
197
192
1. Set a 32 character random string in your `.env` file for the `CALENDSO_ENCRYPTION_KEY` (You can use a command like `openssl rand -base64 24` to generate one).
198
193
1. Set up the database using the Prisma schema (found in `packages/prisma/schema.prisma`)
0 commit comments