- Learn Command Line the Hard Way
- Explain Shell - paste commands in this box to see what they do
- Basic Git
- [Try Git]
In order to deploy a web application from your machine to Heroku, we need to follow the principles in the 12 factor app. This means:
- Your app should be runnable by Foreman
- Have a Procfile that defines your process types
- Ensure any connection strings (database URLS) or any other URLs in the app are stored in environment variables and accessed that way
- Ensure API keys are also stored as environment variables and are accessed that way