Skip to content

heroku/python-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

461f1ac · Apr 6, 2025
Apr 3, 2025
Apr 6, 2025
Apr 6, 2025
Jan 17, 2025
May 19, 2023
Oct 14, 2024
Apr 6, 2025
Sep 18, 2023
Dec 8, 2024
Nov 21, 2024
Jan 21, 2025
Aug 9, 2024
Apr 6, 2025

Repository files navigation

Python Getting Started

A barebones Django app, which can easily be deployed to Heroku.

This application supports the tutorials for both the Cedar and Fir generations of the Heroku platform. You can check them out here:

Deploying to Heroku

Using resources for this example app counts towards your usage. Delete your app and database as soon as you are done experimenting to control costs.

Deploy on Heroku Cedar

By default, apps use Eco dynos if you are subscribed to Eco. Otherwise, it defaults to Basic dynos. The Eco dynos plan is shared across all Eco dynos in your account and is recommended if you plan on deploying many small apps to Heroku. Learn more about our low-cost plans here.

Eligible students can apply for platform credits through our new Heroku for GitHub Students program.

$ git clone https://github.com/heroku/python-getting-started
$ cd python-getting-started
$ heroku create
$ git push heroku main
$ heroku open

Deploy on Heroku Fir

By default, apps on Fir use 1X-Classic dynos. To create an app on Fir you'll need to create a private space first.

$ git clone https://github.com/heroku/python-getting-started
$ cd python-getting-started
$ heroku create --space <space-name>
$ git push heroku main
$ heroku ps:wait
$ heroku open

For more information about using Python on Heroku, see these Dev Center articles: