Skip to content

Code-Institute-Org/p3-template

 
 

Repository files navigation

CI logo

Welcome,

This is the Code Institute student template for deploying your third portfolio project, the Python command-line project. The last update to this file was: May 14, 2024

Reminders

  • Your code must be placed in the run.py file
  • Your dependencies must be placed in the requirements.txt file
  • Do not edit any of the other files or your code may not deploy properly

Creating the Heroku app

When you create the app, you will need to add two buildpacks from the Settings tab. The ordering is as follows:

  1. heroku/python
  2. heroku/nodejs

You must then create a Config Var called PORT. Set this to 8000

If you have credentials, such as in the Love Sandwiches project, you must create another Config Var called CREDS and paste the JSON into the value field.

Connect your GitHub repository and deploy as normal.

Constraints

The deployment terminal is set to 80 columns by 24 rows. That means that each line of text needs to be 80 characters or less otherwise it will be wrapped onto a second line.


Happy coding!

About

Deployment template for students to use for P3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 45.6%
  • Dockerfile 31.0%
  • JavaScript 21.7%
  • Python 1.5%
  • Procfile 0.2%