Browse Source

add run_server

master
Mohamad Safadieh 4 weeks ago
parent
commit
10e8cb43a0
Signed by: mhmd <me@msafadieh.com> GPG Key ID: 2F3FDF2EAE1E3C36
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      run_server.sh

+ 4
- 0
run_server.sh View File

@@ -0,0 +1,4 @@
#! /bin/sh
source .env/bin/activate
[ -z "$HOST" ] && HOST="127.0.0.1:8000"
gunicorn guineapigs:app -b "$HOST"

Loading…
Cancel
Save