Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Update config files for heroku (#7)
Browse files Browse the repository at this point in the history
* client setup

* configure client

* fix workflow bug

* fix workflow gradlew no permission error

* add DSN env variable

* fix sentry bug

* fix upload artifact bug

* upload flask and bootstrap

* update flask action file

* set action only when there is a push on main branch

* upload sevice.yml

* update README.md

* update service.yml

* update test cmd

* update action files according to warning

* fix error: source not found in sh

* fix json5 dependency issue

* remove unnecessary dependencies

* update runtime file for heroku

* upload config files for heroku deployment

* update service.yml
  • Loading branch information
GareArc authored Mar 5, 2023
1 parent 754da33 commit c0f997e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: python run.py
2 changes: 1 addition & 1 deletion server/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

if __name__ == "__main__":
# print(os.environ.get("MONGODB_URL"))
app.run(debug=True, port=int(os.getenv('PORT', 7000)))
app.run(debug=True, port=int(os.environ.get('PORT', 7000)))
1 change: 1 addition & 0 deletions server/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.10.10
1 change: 1 addition & 0 deletions service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tools:
services:
production:
frontend: ''
backend: 'https://stylease.herokuapp.com/'

docs:
getting_started: https://github.com/dcsil/StylEase/blob/5d3676a01012e24a275347338ec6c81587929b21/README.md
Expand Down

0 comments on commit c0f997e

Please sign in to comment.