diff --git a/README.md b/README.md index 2fc18b1..9491301 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/resetdb.sh b/resetdb.sh new file mode 100755 index 0000000..8f2149c --- /dev/null +++ b/resetdb.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +npm run typeorm -- schema:drop +npm run typeorm -- migration:run