Add my test project up to this point.

This commit is contained in:
2022-10-06 07:05:46 -05:00
parent 3da6b0a643
commit 7648f2f728
14 changed files with 239 additions and 0 deletions

17
run.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# 2022-09-14 Hyperling
# Ensure dependencies are met and start the webserver.
### Can docker-compose do this rather than running a sh file on the host OS?
# Look at Dockerfile-ADD for doing git clones into a docker environment.
# Out of scope for this project, this project is just the site.
if [[ ! `which php` || ! `which node` ]]; then
sudo apt install -y php-fpm nodejs
fi
npm install
main.js
###
exit 0