Install from source
Install OpenTemplates with Node.js and start it on your computer or server.
You need Node.js (a current LTS release) and Git.
Install and start
1. Get the code and open its folder:
git clone https://github.com/totaljs/opentemplates.git
cd opentemplates2. Install the dependencies (once):
npm install3. Start OpenTemplates:
npm start4. Open http://localhost:8000/ in your browser. It takes you to the interface at /setup/. See First start.
OpenTemplates keeps running until you stop it with Ctrl+C in the terminal.
Use another port
npm start uses port 8000. To use another port, start OpenTemplates with Node.js and pass the port:
node index.js 8080Where your data is saved
Profiles, templates, tokens, the configuration, the logs and uploaded files are saved in the databases folder inside the OpenTemplates folder. See The data folder and Back up your data.
Before you open OpenTemplates to other people, read Run in production.