-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
3 additions
and
34 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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,20 +3,10 @@ | |
"packages": ["[email protected]"], | ||
"shell": { | ||
"init_hook": [ | ||
"echo 'in init hook'", | ||
"echo $VENV_DIR", | ||
"echo 'after echoing venv_dir'", | ||
"ls -la $VENV_DIR", | ||
"ls -la $VENV_DIR/bin", | ||
"sed -i '1i set -x' $VENV_DIR/bin/activate", | ||
"cat $VENV_DIR/bin/activate", | ||
"echo 'before source'", | ||
". $VENV_DIR/bin/activate", | ||
"which pip", | ||
"echo 'end of init hook'" | ||
". $VENV_DIR/bin/activate" | ||
], | ||
"scripts": { | ||
"install": ["echo 'START install'", "which pip", ". $VENV_DIR/bin/activate", "echo 'AFTER activate'", "which pip", "pip install -r requirements.txt"], | ||
"install": "pip install -r requirements.txt", | ||
"start": "gunicorn -w 2 -b 0.0.0.0:8080 main:app" | ||
} | ||
} | ||
|