The Procfile
SourceLair needs a Procfile in each project in order to determine how to run its Web Server.
Naming
Your project’s Procfile should either be named Procfile or Procfile.dev.
Location
Your project’s Procfile should be placed in its root directory.
Syntax
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 
Procfile.devnorProcfileare available, your project’s server won’t run 
Further customization
If you are already using Procfile and 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. 
Procfile.sourcelair) - Add your Procfile’s name to your project’s environment via the 
SL_PROCFILEenvironment variable 
Example Procfile
web: python app/manage.py runserver $PORT