Run the Node program.

This commit is contained in:
Hyperling 2023-03-07 05:15:22 -06:00
parent 947921d155
commit 0378fbf2d5

10
run.sh Normal file → Executable file
View File

@ -3,10 +3,20 @@
# Developer: Hyperling
# Purpose: Install all dependencies and run the project.
# Install any system packages.
if [[ -z `which npm` ]]; then
echo "NPM needs to be installed."
sudo apt install npm
else
echo "NPM is already installed."
fi
# Install/update any project modules.
echo "Ensuring NPM packages are correct."
npm install package.json
# Start backend
node ./server.js
# Start frontend.
# ???