easier manager layers, frontend with nginx

This commit is contained in:
2022-12-20 23:14:02 +05:00
parent 02c85fce39
commit b3a909cebe
2 changed files with 20 additions and 7 deletions

View File

@ -1,8 +1,9 @@
#!/bin/bash
source $HOME/.profile; source $HOME/.bashrc
#Start frontend
cd /root/okiba-org-frontend; pnpm run dev --host &
/usr/sbin/nginx -g 'daemon off; master_process on;' &
#Start backend
cd /root/okiba-org-backend; pnpm start &