Installation de Sccrumblr alias mur de petit papiers (notes) installation de nodejs et DB redis local apt install curl curl -sL https://deb.nodesource.com/setup_8.x | bash - apt-get install -y nodejs apt-get install redis-server service redis start ajout d'un utilisateur adduser --no-create-home --home /var/www/scrumblr --disabled-login --gecos "Scrumblr" scrumblr clonage du dépôt cd /var/www/ git clone https://github.com/aliasaria/scrumblr.git droit sur le dossier chown scrumblr: -R /var/www/scrumblr installation cd /var/www/scrumblr su scrumblr -s /bin/bash npm install ajout d'un la fonction export/import git remote add fork https://github.com/ldidry/scrumblr/ git fetch fork git pull fork master git config --global user.email "admin@parinux.org" git config --global user.name "parinux" git pull fork master Création du service vim /etc/systemd/system/scrumblr.service [Unit] Description=Scrumblr service Documentation=https://github.com/aliasaria/scrumblr/ Requires=network.target Requires=redis-server.service After=network.target After=redis-server.service [Service] Type=simple User=scrumblr WorkingDirectory=/var/www/scrumblr ExecStart=/usr/bin/node server.js --port 4242 [Install] WantedBy=multi-user.target usage du service sudo systemctl daemon-reload sudo systemctl enable scrumblr.service sudo systemctl start scrumblr.service sudo systemctl daemon-reload