An open API service indexing awesome lists of open source software.

https://github.com/mwapsam/final


https://github.com/mwapsam/final

Last synced: 3 months ago
JSON representation

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

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](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)