The easiest way to start a new Django project with Forge is to use the
It will prompt you along the way if you don't have certain things installed,
but you should expect to have:
curl -sSL https://forgepackages.com/quickstart.py | python3 - my-project
What does the script do?
- Create a new directory (
- Set it up as a git repo (
- Add a default
- Install Forge using
- Copy the Forge project template into the new directory
- Create a git pre-commit hook for your local repo
makemigrationsfor the default
Once you have a new local project working, you can create an empty GitHub repo, then commit and push.
# Use `--help` for more options. forge heroku create <heroku-app-name> --team <heroku-team-name>
After you run the command, you'll need to connect your new Heroku app to your GitHub repo using your browser (it will print out a link for you to use).
- Find/authorize your GitHub repo
- Check the "Wait for CI to pass before deploy" box, and click "Enable Automatic Deploys"
- Click the "Deploy Branch" button to test a deploy (normally it will deploy when you push a new commit)