installation on the server

azivner 2017-12-24 22:17:40 -05:00
parent a4f34c439d
commit 44b84d7d98

27
Installation on server.md Normal file

@ -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 &
~~~~