diff --git a/Procfile.txt b/Procfile.txt index 44a5a1a..903bdf9 100644 --- a/Procfile.txt +++ b/Procfile.txt @@ -1,2 +1,2 @@ -release: cd api && flask db upgrade -web: cd api && flask run +release: ./upgrade.sh +web: ./run.sh diff --git a/migrate.sh b/migrate.sh new file mode 100755 index 0000000..0ede34b --- /dev/null +++ b/migrate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd api +flask db upgrade diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..7821842 --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd api +flask run -p $PORT