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 + +