Skip to content

Commit b5c28bd

Browse files
committed
turning out config files into just examples
1 parent 1c0026c commit b5c28bd

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

Diff for: build.sh

+9-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
#!/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

Diff for: ecosystem.json renamed to example-ecosystem.json

File renamed without changes.

Diff for: pm2.production.json renamed to example-pm2.json

File renamed without changes.

0 commit comments

Comments
 (0)