SourceLair needs a Procfile in each project in order to determine how to run its Web Server.
Your project’s Procfile should either be named
Your project’s Procfile should be placed in its root directory.
Procfiles have a simplified YAML-like syntax in the following format:
name_of_process: command of process # this is a comment
Procfiles support multiple processes that can be ran simulaneously (e.g. one process for your project’s server, another for a worker etc.).
Look up priority
- SourceLair will first look for
Procfile.devand attempt to run your project’s server from it.
- If it’s not available, SourceLair will look for
Procfileand attempt to run your projects server it
- If neither
Procfileare available, your project’s server won’t run
If you are already using
Procfile.dev in your project and you want to use another file for running your project’s server on SourceLair, you can:
- Create a new Procfile with any name (e.g.
- Add your Procfile’s name to your project’s environment via the
web: python app/manage.py runserver $PORT