File tree 3 files changed +9
-16
lines changed
3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
-
3
- if [ ! $1 ]; then
4
- echo " Example of use: source build.sh production"
5
- fi
6
-
7
- if [ $1 ]; then
8
- source ./build-info.sh
9
- export METEOR_SETTINGS=$( cat settings.$1 .json)
10
- meteor add rocketchat:external
11
- meteor add rocketchat:hubot
12
- meteor build --server https://demo.rocket.chat --directory /var/www/rocket.chat
13
- cd /var/www/rocket.chat/bundle/programs/server
14
- npm install
15
- cd /var/www/rocket.chat/current
16
- pm2 startOrRestart /var/www/rocket.chat/current/pm2.$1 .json
17
- fi
2
+ source ./build-info.sh
3
+ export METEOR_SETTINGS=$( cat settings.json)
4
+ meteor add rocketchat:external
5
+ meteor add rocketchat:hubot
6
+ meteor build --server https://demo.rocket.chat --directory /var/www/rocket.chat
7
+ cd /var/www/rocket.chat/bundle/programs/server
8
+ npm install
9
+ cd /var/www/rocket.chat/current
10
+ pm2 startOrRestart /var/www/rocket.chat/current/pm2.json
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments