https://github.com/mwapsam/final
https://github.com/mwapsam/final
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mwapsam/final
- Owner: Mwapsam
- Created: 2019-07-30T10:10:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T10:47:57.000Z (almost 7 years ago)
- Last Synced: 2025-08-02T09:36:21.956Z (11 months ago)
- Language: HTML
- Size: 32.2 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Python: Getting Started
A barebones Django app, which can easily be deployed to Heroku.
## Running Locally
Make sure you have Python 3.7 [installed locally](http://install.python-guide.org). To push to Heroku, you'll need to install the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli), as well as [Postgres](https://devcenter.heroku.com/articles/heroku-postgresql#local-setup).
```sh
$ git clone https://github.com/Mwapsam/final.git
$ cd final
$ python3 -m venv final
$ pip install -r requirements.txt
$ createdb final
$ python manage.py migrate
$ python manage.py collectstatic
$ heroku local
```
Your app should now be running on [localhost:5000](http://localhost:5000/).
## Deploying to Heroku
```sh
$ heroku create
$ git push heroku master
$ heroku run python manage.py migrate
$ heroku open
```
or
[](https://heroku.com/deploy)
## Documentation
For more information about using Python on Heroku, see these Dev Center articles:
- [Python on Heroku](https://devcenter.heroku.com/categories/python)