Introduction
Introduction
The Athene2 Editor uses a Node JS server that converts the MD format into HTML. The NPM Registry loads the Athene2 Editor
cd src/assets
npm install
Dependencies
- node.js (>= 0.10.16) mit npm
Nice to have
- pm2 to keep the server running
pm2 installation:
[sudo] npm -g install pm2
Up and Running
Mit pm2 (recommended):
Initialise the server:
pm2 start src/assets/node_modules/athene2-editor/server/server.js
Shut down server:
pm2 dump && pm2 kill
Without pm2:
Start:
node src/assets/node_modules/athene2-editor/server/server.js
Stop:
ctrl+c