Skip to content

Commit

Permalink
adding run.sh script to start webserver (Materials-Consortia#18)
Browse files Browse the repository at this point in the history
* adding run.sh script to start webserver
* Add to README
  • Loading branch information
fawzi authored and ltalirz committed Jun 12, 2019
1 parent 1246fb4 commit e893347
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
uvicorn optimade.server.main:app --reload --port 5000

0 comments on commit e893347

Please sign in to comment.