| 1 | = Maintaining ethercalc = |
| 2 | |
| 3 | We are running [http://ethercalc.net/ ethercalc] (a spreadsheet/wiki web software) at https://calc.mayfirst.org/. |
| 4 | |
| 5 | It depends on [wiki:nodejs node.js]. |
| 6 | |
| 7 | It was installed by running, as the calc user on mchesney (and in the /home/calc): |
| 8 | |
| 9 | {{{ |
| 10 | npm install ethercalc |
| 11 | }}} |
| 12 | |
| 13 | That created a directory structure in /home/calc/node_modules. |
| 14 | |
| 15 | The init script is handled by runit and is located in /etc/sv/ethercalc. |
| 16 | |
| 17 | To update to the latest version of ethercalc, run the following command in /home/calc as the ethercalc user: |
| 18 | |
| 19 | {{{ |
| 20 | npm update |
| 21 | }}} |
| 22 | |
| 23 | Then, restart ethercalc (as root): |
| 24 | |
| 25 | {{{ |
| 26 | sv restart ethercalc |
| 27 | }}} |
| 28 | |