Skip to content

Commit

Permalink
Deploy from subfolder guide added, backend hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
sidhant-khamankar authored Nov 3, 2021
1 parent 395e9f4 commit 3c70876
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ added these to my `/android/app/src/main/AndroidManifest.xml`
</application>
</manifest>
```
and localhost (http://127.0.0.1:8000/) is replaced by
your IP address

</ol>

### Frontend References
Expand Down Expand Up @@ -180,6 +179,7 @@ Same email and password
`python app.py`

### Heroku
Deployed Backend on http://campusspace.herokuapp.com

pip install gunicorn
pip freeze > requirements.txt
Expand All @@ -189,6 +189,7 @@ Inside Procfile:
web: gunicorn <main_file_name>:<flask_app_name>

* Login to heroku and deploy from Repository after creating new app
* To deploy from subfolder follow https://stackoverflow.com/questions/39197334/automated-heroku-deploy-from-subfolder
* Set config vars in settings from .env file

#### For errors
Expand Down

0 comments on commit 3c70876

Please sign in to comment.