Main Shiny app: shiny.marineenergy.app/report
This README with html listing: https://marineenergy.github.io/apps
These web pages (*.html) are typically rendered from Rmarkdown (*.Rmd):
Normally, on command line, get this repo:
git clone https://github.com/mareineenergy/apps
Or in Rstudio, File -> New Project… -> Version Control -> git …
Might need to install Git.
# /etc/services.d
# /etc/init.d/
sudo service shiny-server restart
```bash
sudo apt-get install monit sudo service monit start sudo service monit status
sudo systemctl enable –now monit sudo /etc/init.d/monit start sudo systemctl status monit
sudo -u shiny pm2 start /usr/bin/shiny-server sudo -u shiny pm2 save sudo -u shiny pm2 list sudo -u shiny pm2 logs shiny-server sudo -u shiny pm2 start shiny-server
ps -eaf | grep shiny
sudo kill -9 265 sudo kill -9 269 sudo kill 11814 sudo killall 12279 sudo killall xtail sudo killall /opt/shiny-server/ext/node/bin/shiny-server sudo killall s6-supervise shiny-server sudo kill -9 13125
sudo kill -9 2053 # /usr/local/lib/R/bin/exec/R –no-save –no-restore –no-save –slave -f /opt/shiny-server/R/SockJSAdapter.R sudo kill -9 13126 # /opt/shiny-server/ext/node/bin/shiny-server /opt/shiny-server/lib/main.js sudo kill -9 13207 sudo ps -eaf | grep shiny
ps aux | grep -E “^shiny\s[0-9].*” | sed -r ‘s/shiny\s([0-9]).*/\1/’ | while read i ; do sudo kill -9 “$i” ; done ; |
sudo ps -eaf | grep shiny sudo pkill -P 11814 netstat -tulpn
pm2 start exec /usr/sbin/shiny-server 2>&1 ``
To get Rmd to show, eg https://mhk-env.github.io/shiny-apps/ply2rwhale.html, had to delete sym linked index.html that pointed to /opt/shiny-server/samples/welcome.html
.