Add super basic setup script
This commit is contained in:
parent
5c47a967dd
commit
885bebee71
1 changed files with 21 additions and 0 deletions
21
setup.sh
Normal file
21
setup.sh
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Build the common module that both subsystems depend on
|
||||||
|
cd common
|
||||||
|
make
|
||||||
|
|
||||||
|
|
||||||
|
# Setup the server side of the system
|
||||||
|
cd ../server
|
||||||
|
pnpm install
|
||||||
|
pnpm build
|
||||||
|
#pnpm link file:../common/cjs
|
||||||
|
# add command to copy the systemd service file to the right location
|
||||||
|
|
||||||
|
|
||||||
|
# Setup the website for the system
|
||||||
|
cd ../web-svelte
|
||||||
|
pnpm install
|
||||||
|
#pnpm link file:../common/cjs
|
||||||
|
pnpm build
|
||||||
|
# add command to help setup nginx to serve the built files
|
||||||
Loading…
Add table
Add a link
Reference in a new issue