added database init script

This commit is contained in:
Timur Ercan
2023-04-04 12:02:09 +02:00
parent ff85c294b2
commit 2bdfb884ec
4 changed files with 153 additions and 0 deletions

View File

@ -110,6 +110,7 @@ Follow these steps to setup documenso on you local machnine:
- Set DATABASE_URL value in .env file
- You can use the provided test database url (may be wiped at any point)
- Or setup a local postgres sql instance (recommened)
- Create the database scheme by running <code>db-migrate:dev</code>
- Set SENDGRID_API_KEY value in .env file
- You need SendGrid account, which you can create [here](https://signup.sendgrid.com/).
- Documenso uses [Nodemailer](https://nodemailer.com/about/) so you can easily use your own smtp server