Files
OpenBB/gamestonk_terminal_web/launch
Arjun V 74f028ddb1 Add web UI for Gamestonk Terminal (#1251)
* Add web version of Gamestonk Terminal

* Update README.md

* Update README.md

* Fix typos, improve formatting

* Add trailing newline to index.html

* Split up long line

* Add comments to launch script

* Update README.md

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-01-24 02:44:36 +00:00

10 lines
314 B
Bash
Executable File
Vendored

#!/usr/bin/env bash
# check if the setenv file exists (it holds the API keys)
if [ ! -f ./setenv ]; then
# and if it doesn't exist, create it
touch setenv
fi
# build the Dockerfile, and if that worked, run it on port 8080
docker build -t gst_web . && docker run -it -p 8080:8080 --env-file setenv gst_web