![]() ![]() It declares that this process type is attached to Heroku’s HTTP routing stack and receives web traffic when deployed. This Procfile declares a single process type, web, and the command needed to run it. The Procfile in the example app looks like this: web: gunicorn gi Use a Procfile, a text file in the root directory of your application, to explicitly declare what command to execute to start your app. ![]() It includes a runtime.txt specifying the Python version to use and a requirements.txt, used by Python’s dependency manager, Pip. You now have a functioning git repository that contains a simple application. Execute these commands in your local command shell or terminal: $ git clone If you have an existing application you want to deploy,Ĭlone the sample application so that you have a local version of the code. ![]() If you’re new to Heroku, it’s recommended that youĬomplete this tutorial using the Heroku-provided sample application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |