Simplify env file
This commit is contained in:
parent
ab5dd5c12a
commit
26203d9f54
3 changed files with 5 additions and 5 deletions
2
build
2
build
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source ./env
|
export $(cat env | xargs) # Read env variables from file
|
||||||
cd front
|
cd front
|
||||||
npm run build
|
npm run build
|
||||||
cd ../back
|
cd ../back
|
||||||
|
|
6
env
6
env
|
@ -1,3 +1,3 @@
|
||||||
export NEXT_PUBLIC_BACK_HOST='https://server.exozy.me'
|
PORT=6000
|
||||||
export ORIGIN="*"
|
NEXT_PUBLIC_BACK_HOST='https://server.exozy.me'
|
||||||
export PORT=6000
|
ORIGIN="*"
|
||||||
|
|
2
run
2
run
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source ./env
|
export $(cat env | xargs) # Read env variables from file
|
||||||
./build
|
./build
|
||||||
cd front
|
cd front
|
||||||
npm run start -- -p 5000 | node ../back/dist/index.js
|
npm run start -- -p 5000 | node ../back/dist/index.js
|
||||||
|
|
Loading…
Reference in a new issue