-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes#883 : Deploy the New API to Heroku (#885)
<!-- Add the issue number that is fixed by this PR (In the form Fixes #123) --> Fixes #883 #### Checklist - [x] I have read the [Contribution & Best practices Guide](https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia) and my PR follows them. - [x] My branch is up-to-date with the Upstream `development` branch. - [x] I have added necessary documentation (if appropriate) ### Preview Link - **Replace XXX with your PR no** - Link to live demo: http://pr-XXX-fossasia-badgeyay.surge.sh #### Changes proposed in this pull request: - Deploy the New API to Heroku
- Loading branch information
Showing
68 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: gunicorn --pythonpath backend/app/ main:app | ||
web: gunicorn --pythonpath api/ run:app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
static/uploads | ||
static/temporary | ||
app.yaml |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"type": "service_account", | ||
"project_id": "badgeyay-195bf", | ||
"private_key_id": "baac7d919f1f17a3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hP8kCqXCWFhvRRJJai62pQK7Gb\n9JbXJvnyisulNtkpNX4vSQ6OhlQFJ2ucYb0sJ7gXNfHigteT4ZocySEN2/rxjyJo\nY+MC46HSZwJ/ebECXjREG2njkVawvG3BvPeXFjHb/d/oOwgAeMVy0Me1wx8wuxkA\nsApu/92ld8cGZdDKMEo0TR85gZjQwdlUfSvzThPjUv/xhvSFgJWI/lWjrEEbIzA4\n91E9/DRSJ0up2QFcw9HrlgXjsnu7U3jlPeVDdlBeq01eRzRbpfyI7QKBgEHdRql0\np+XUQ2Yie525srTYuLj0tzakClxOIp1U8ROWVlznxEmkbsUbVTBGyj2XOyDgZipk\n7B/Ua5aYfJM2iQTvqgemBCic6bUdYmj05eVK2dznMwQQSAYC1xVawMHa3bNYy7zw\nkJ7c/oNVcgEyX8z4cXIzYLgvno66bo5eQCjxAoGBANLNEvDQFWyKgWbsju9a303b\nXzSMe7q5cJ3q388mLFQo9Vs2mKfZhUvjrzXEnCzh05DHT+PaK/CTD66YfBnAqvmX\nXrQYD5Z8WG5+zh9htDIhoAWGBxn+UTTGMdOQMhUznc2rYoglLdF4+8nuXY4uXl8Q\nXiDuMvi/BB/Ks739l28u\n-----END PRIVATE KEY-----\n", | ||
"client_email": "[email protected]", | ||
"client_id": "107341524668147355773", | ||
"auth_uri": "https://accounts.google.com/o/oauth2/auth", | ||
"token_uri": "https://accounts.google.com/o/oauth2/token", | ||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", | ||
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-96j6i%40badgeyay-195bf.iam.gserviceaccount.com" | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# DEBUG variable | ||
DEBUG = True | ||
# Sample config for PostgreSQL Database | ||
POSTGRES = { | ||
'user': 'badgeyay', | ||
'pw': 'badge', | ||
'host': 'localhost', | ||
'port': '5432', | ||
'db': 'badgeyay', | ||
'secret': 'thisisaverysupersecretkeyforfossasiabadgeyay' | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
-r backend/requirements/prod.txt | ||
-r api/requirements.txt |