diff --git a/Procfile b/Procfile new file mode 100644 index 0000000000000000000000000000000000000000..8f351ba61a39141ace06da18ba1b52a74ec1961b --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: python manage.py runserver 0.0.0.0:$PORT \ No newline at end of file diff --git a/heruko.yml b/heruko.yml index ba1222743dc071aff014bea59922b933ece79145..752960cf31cdd3a014aa4b802a6d589c74ee9378 100644 --- a/heruko.yml +++ b/heruko.yml @@ -2,4 +2,9 @@ build: docker: web: Dockerfile run: - web: \ No newline at end of file + web: python manage.py runserver 0.0.0.0:$PORT + release: + image: web + command: + - cd backend/secfit + - python manage.py collectstatic --noinput \ No newline at end of file