Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Getting Started with Python on Heroku

NotificationsYou must be signed in to change notification settings

pytdev/python-getting-started

 
 

Repository files navigation

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

This application supports theGetting Started with Python on Heroku article - check it out.

Running Locally

Make sure you have Pythoninstalled properly. Also, install theHeroku Toolbelt andPostgres.

$ git clone git@github.com:heroku/python-getting-started.git$cd python-getting-started$ pip install -r requirements.txt$ createdb python_getting_started$ python manage.py migrate$ python manage.py collectstatic$ herokulocal

Your app should now be running onlocalhost:5000.

Deploying to Heroku

$ heroku create$ git push heroku master$ heroku run python manage.py migrate$ heroku open

or

Deploy

Documentation

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

About

Getting Started with Python on Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML55.1%
  • Python44.9%

[8]ページ先頭

©2009-2025 Movatter.jp