mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 21:12:16 +00:00
* 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>
10 lines
314 B
Bash
Executable File
Vendored
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
|