From e8933476073b52fcd9182495ce0ae7ff97809089 Mon Sep 17 00:00:00 2001 From: Fawzi Mohamed Date: Wed, 12 Jun 2019 17:24:48 +0200 Subject: [PATCH] adding run.sh script to start webserver (#18) * adding run.sh script to start webserver * Add to README --- README.md | 1 + run.sh | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 run.sh diff --git a/README.md b/README.md index f47f75f0a..e7de5e4a6 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ conda install -c anaconda mongodb mkdir -p ~/dbdata && mongod --dbpath ~/dbdata --syslog --fork # Start a development server (auto-reload on file changes at http://localhost:5000 +# You can also execute ./run.sh uvicorn optimade.server.main:app --reload --port 5000 # View auto-generated docs diff --git a/run.sh b/run.sh new file mode 100755 index 000000000..24dc70596 --- /dev/null +++ b/run.sh @@ -0,0 +1,2 @@ +#!/bin/bash +uvicorn optimade.server.main:app --reload --port 5000