Browse Source

Only make the environment if it doesn't exist..

main
John-Mark Gurney 4 years ago
parent
commit
fd506c5b64
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -8,4 +8,4 @@ env:
($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)

run:
($(VIRTUALENV) p && . ./p/bin/activate && hypercorn --bind '0.0.0.0:7742' --bind '[::]:7742' --bind 'unix:/tmp/bitelab.sock' 'bitelab:getApp()')
([ ! -d p ] && $(VIRTUALENV) p || : && . ./p/bin/activate && hypercorn --bind '0.0.0.0:7742' --bind '[::]:7742' --bind 'unix:/tmp/bitelab.sock' 'bitelab:getApp()')

Loading…
Cancel
Save