Deploying Rocket.Chat Server Binaries on a FreeBSD system
Note: This deployment method is not officially supported by Rocket.Chat, you might need to build your own or find a community version of the tar file.
This is the recommended production deployment method on and is based on the excellent Meteor Universal fork by Tom Freudenberg.
As root:
# pkg install bash git GraphicsMagick mongodb python scons gmake
# sysrc mongod_enable=YES
# service mongod start
# pw groupadd rocketchat
# pw useradd rocketchat -g rocketchat -s /usr/local/bin/bash -m
# su -l rocketchatAs user running Rocket.Chat:
$ git clone --depth 1 -b release-1.2.1-universal https://github.com/4commerce-technologies-AG/meteor
$ cd meteor
$ ./meteor --version
$ cd $HOME
$ tar xf rocket.chat-freebsd-develop.tgz
$ cd $HOME/bundle/programs/server
$ $HOME/meteor/dev_bundle/bin/npm install
$ cd $HOME/bundle
$ export MONGO_URL=mongodb://localhost:27017/rocketchat
$ export Accounts_UseDNSDomainCheck=false
$ export ROOT_URL=http://your.host:3000
$ export PORT=3000
$ export ADMIN_PASS=supersecret
$ export ADMIN_USER=admin
$ $HOME/meteor/dev_bundle/bin/node $HOME/bundle/main.jsA very crude startup file for the server, (very ugly, does not fork, don't set rocketchat_enable=YES):
Last updated