Add run script
This commit is contained in:
parent
c3a604c952
commit
89507279cf
6
build
Executable file
6
build
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
source ./env
|
||||
cd front
|
||||
npm run build
|
||||
cd ../back
|
||||
npm run build
|
6
env
Normal file
6
env
Normal file
|
@ -0,0 +1,6 @@
|
|||
export NEXT_PUBLIC_BACK_HOST='https://server.exozy.me'
|
||||
export ORIGIN="*"
|
||||
export PORT=4000
|
||||
export SSL_KEY=/etc/letsencrypt/live/exozy.me/privkey.pem
|
||||
export SSL_CERT=/etc/letsencrypt/live/exozy.me/cert.pem
|
||||
export SSL_CA=/etc/letsencrypt/live/exozy.me/chain.pem
|
Loading…
Reference in a new issue