update build script to eliminate need to install and build with meteor

pull/1074/head
S. Li 10 years ago
parent f784c24c81
commit 36560aa27f
  1. 8
      build.sh

@ -1,9 +1,7 @@
#!/bin/bash
source ./build-info.sh
export METEOR_SETTINGS=$(cat settings.json)
meteor add rocketchat:livechat
meteor add rocketchat:hubot
meteor build --server https://demo.rocket.chat --directory /var/www/rocket.chat
cd /var/www/rocket.chat
https://s3.amazonaws.com/rocketchatbuild/demo.rocket.chat-v.latest.tgz" -o rocket.chat.tgz
tar zxvf rocket.chat.tgz && rm rocket.chat.tgz
cd /var/www/rocket.chat/bundle/programs/server
npm install
cd /var/www/rocket.chat/current

Loading…
Cancel
Save