From 44b84d7d9836d47d2d72ba469611e9d1ab3dcf92 Mon Sep 17 00:00:00 2001 From: azivner Date: Sun, 24 Dec 2017 22:17:40 -0500 Subject: [PATCH] installation on the server --- Installation on server.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Installation on server.md diff --git a/Installation on server.md b/Installation on server.md new file mode 100644 index 0000000..c09d725 --- /dev/null +++ b/Installation on server.md @@ -0,0 +1,27 @@ +By server installation we mean installing Trilium as a web application as opposed to installing desktop (electron) build. + +## Requirements + +Trilium is a [node.js](http://nodejs.org/) application. Supported version is 8.2.1 and up, but it might work with earlier versions, it's just not tested. It will definitely not run on node version lower than 7.6 though (first version with async/await enabled). + +## Install from git +~~~ +git clone https://github.com/zadam/trilium.git +cd trilium + +# stable branch should contain latest stable release +git checkout stable + +# download all node dependencies +npm install +~~~~ + +## Run + +~~~~ +cd trilium + +# using nohup to make sure trilium keeps running after user logs out +nohup node bin/www & +~~~~ +