Add my test project up to this point.
This commit is contained in:
17
run.sh
Executable file
17
run.sh
Executable 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
|
Reference in New Issue
Block a user