This repository has been archived by the owner on Mar 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a post deploy hook to install Procfile
- Virtual environment will be linked in to the current directory in 'venv' - Procfile now gets created by the post deploy hook which is called by capistrano
- Loading branch information
Showing
3 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: {{virtualenv-path}}/bin/gunicorn -blocalhost:3038 backdrop.read.api:app | ||
web: venv/bin/gunicorn -blocalhost:3038 backdrop.read.api:app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: {{virtualenv-path}}/bin/gunicorn -blocalhost:3039 backdrop.write.api:app | ||
web: venv/bin/gunicorn -blocalhost:3039 backdrop.write.api:app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/local/env bash | ||
|
||
BACKDROP_APP=$(echo $GOVUK_APP_NAME | cut -d . -f 1) | ||
|
||
cp Procfile-$BACKDROP_APP Procfile |