From 3e01c0b7f7dc120af911209ace598d30fe6957e5 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Sun, 28 Jul 2019 12:07:18 +0200 Subject: [PATCH] Readme update --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 3326c7a..16abdce 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,15 @@ TFM consists of following components: * TFM Controller - daemon running on embedded platform for reading the sensors, executing commands in offline and online mode +# Deploying to server: + +1. ssh to agrar.zoblak.com +2. do meteor build . on dev computer +3. cp app.tar.gz to zoblak@agrar.zoblak.com:/home/zoblak/ +4. sudo su +5. cd +6. npm install -g node-gyp # for bcrypt to build correctly +7. npm install -g node-pre-gyp # for bcrypt to build correctly +6. ./deploy.sh + +