aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorAnthony Wang2022-01-12 14:48:58 -0600
committerAnthony Wang2022-01-12 14:48:58 -0600
commit26203d9f549d3eaeb9f2b47e0322bd79a71c8b30 (patch)
tree8211c4dd17bc93de0f4d18702114177a6c0bd48b /run
parentab5dd5c12a71e28297e9b0385f0162f75f72853a (diff)
Simplify env file
Diffstat (limited to 'run')
-rwxr-xr-xrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/run b/run
index 7ce0311..75c7d22 100755
--- a/run
+++ b/run
@@ -1,5 +1,5 @@
#!/bin/bash
-source ./env
+export $(cat env | xargs) # Read env variables from file
./build
cd front
npm run start -- -p 5000 | node ../back/dist/index.js