Improve dynos

This commit is contained in:
Augusto Gunsch
2021-12-27 19:09:10 -03:00
parent 114b2f6729
commit 6e147cbbdb
3 changed files with 8 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
release: cd api && flask db upgrade
web: cd api && flask run
release: ./upgrade.sh
web: ./run.sh

3
migrate.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
cd api
flask db upgrade

3
run.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
cd api
flask run -p $PORT