use honcho to manage multiple dev processes
This commit is contained in:
parent
f7d8783349
commit
ae909117f4
1
Pipfile
1
Pipfile
@ -36,6 +36,7 @@ pytest-flask = "*"
|
||||
pytest-env = "*"
|
||||
pytest-cov = "*"
|
||||
selenium = "*"
|
||||
honcho = "*"
|
||||
|
||||
[requires]
|
||||
python_version = "3.6.6"
|
||||
|
10
Pipfile.lock
generated
10
Pipfile.lock
generated
@ -1,7 +1,7 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "7162a0e3c45d05aff99adde9d75128d1772cf030d1e2a722f441b21f251a4645"
|
||||
"sha256": "c67f5a847351d9d6e8ef165c380dd97fdf623f87cf8299a64109e453027e2458"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
@ -556,6 +556,14 @@
|
||||
],
|
||||
"version": "==2.1.11"
|
||||
},
|
||||
"honcho": {
|
||||
"hashes": [
|
||||
"sha256:af5806bf13e3b20acdcb9ff8c0beb91eee6fe07393c3448dfad89667e6ac7576",
|
||||
"sha256:c189402ad2e337777283c6a12d0f4f61dc6dd20c254c9a3a4af5087fc66cea6e"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==1.0.1"
|
||||
},
|
||||
"ipdb": {
|
||||
"hashes": [
|
||||
"sha256:7081c65ed7bfe7737f83fa4213ca8afd9617b42ff6b3f1daf9a3419839a2a00a"
|
||||
|
3
Procfile
Normal file
3
Procfile
Normal file
@ -0,0 +1,3 @@
|
||||
assets: yarn watch
|
||||
web: PORT=8000 python app.py
|
||||
queue: flask rq worker
|
@ -4,8 +4,5 @@
|
||||
|
||||
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
|
||||
|
||||
# Compile js/css assets
|
||||
yarn build
|
||||
|
||||
# Launch the app
|
||||
run_command "./app.py ${LAUNCH_ARGS}"
|
||||
run_command "honcho start"
|
||||
|
Loading…
x
Reference in New Issue
Block a user