mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-28 16:07:49 +01:00
add resetdb.sh for heroku
This commit is contained in:
@@ -34,6 +34,8 @@ docker-compose example in `dockercomposeexample` folder
|
||||
|
||||
### Config options (for docker container)
|
||||
|
||||
* `PORT` - web port
|
||||
|
||||
* `TYPEORM_HOST` - mariadb hostname
|
||||
|
||||
* `TYPEORM_USERNAME` - mariadb username
|
||||
|
||||
4
resetdb.sh
Executable file
4
resetdb.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run typeorm -- schema:drop
|
||||
npm run typeorm -- migration:run
|
||||
Reference in New Issue
Block a user