Table of Contents generated with DocToc
- Node, min version 8.11.3
- Git, min version 2.18.0
- Unzip -
sudo apt-get install unzip
Following script downloads install.js from this repository. Despite the script starting with seemingly dangerous command, it's not what you think. It creates a temp file for node to execute from install.js. You can also download and execute install.js by yourself.
trap 'rm -f "/tmp/exec.$$"' 0; trap 'exit $?' 1 2 3 15; curl -s https://raw.githubusercontent.com/optimistdigital/softreport-linux-client/master/install.js >/tmp/exec.$$; chmod +x /tmp/exec.$$; node /tmp/exec.$$
Command does the following:
- Downloads this repository
- Starts interactive CLI to setup config
- TODO: Sets up cron to periodically send version data to SoftReport backend
- nginx
- php
- mysql
- node
- npm