-
Notifications
You must be signed in to change notification settings - Fork 0
Windows Deployment
node: https://nodejs.org/en/download/
mongo: https://www.mongodb.org/downloads#production
graphicsmagick: http://www.graphicsmagick.org/INSTALL-windows.html#prerequisites
ghostscript(Optional for PDF render): http://ghostscript.com/download/
7zip Unarchiver: http://www.7-zip.org/
OR
tar for windows: http://gnuwin32.sourceforge.net/packages/gtar.htm
Download either the latest development executable of Rocket.Chat server:
https://rocket.chat/releases/develop/download
OR the last stable release:
https://rocket.chat/releases/latest/download
Open PowerShell
- install above software packages
- ideally place all packages in your environment path
- install node dependencies:
npm install nave -g
If you need your server to survive reboot, you will need to craft your own restart powershell scripts or use a working process manager.
...\AppData\Roaming\npm\node_modules\pm2\lib\CLI.js:601
if (process.getuid() != 0) {
^
TypeError: process.getuid is not a function
- get acquainted with https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
- change directory to mongo root install folder (probably C:\Program Files\MongoDB)
- create an ini file at top level, mongo.ini
replSet=001-rs
logpath = C:\Program Files\MongoDB\data\log\mongod.log
dbpath = C:\Program Files\MongoDB\data\db\
- create those directories (not the log file itself though)
- type cmd to enter command prompt itself, then Control+Shift+Enter to use cmd as Admin
- install mongod as a service with config options
"C:\Program Files\MongoDB\server\3.0\bin\mongod.exe" --config "C:\Program Files\MongoDB\mongo.ini" --install
- type powershell to head back to PS
net start mongodb
-
cd '.\Program Files\MongoDB\Server\3.0\bin'
or place bin into your path first -
.\mongo.exe
to enter mongo CLI rs.initiate()
- then
exit
to exit mongo CLI - Install IIS with url-rewrite/application request routing/redirect/SSL support
- Open IIS and edit default website, add https binding and choose ssl cert
- Add url-rewrite rule, Reverse Proxy, you'll be prompted to install ARR
- Enable SSL offloading, forward requests to
localhost:3000
- Under SSL settings: Require SSL, ignore client certs
- cd in PS back to C:
- Set the environment variables:
ROOT_URL="http:// your-host-name-.com-as-accessed-from-internet/"
MONGO_URL=mongodb://localhost:27017/rocketchat
MONGO_OPLOG_URL=mongodb://localhost:27017/local
- Unarchive the downloaded tgz - Use 7zip or
tar zxvf rocket.chat.tgz
23.cd bundle/programs/server
npm install
cd ../..
node main.js
This starts the server running.
TODO: get LDAP working, proper mail setup working, both currently crash server
TODO: run in a proper release mode, not debug mode
TODO: test other features
TODO: get process management working for rocket.chat to survive reboot
- Mobile app for iPhones, iPads, iPod Touch
- Firefox OS native app
- Using Face to face video conference (aka webrtc)
- Remote Video Monitoring
- Roles and Permissions
- LDAP Authentication
- Creating the First Admin
- Build the Android Cordova Web App and connect to your own Rocket.Chat Server
- Mobile Notifications Gateway Configuration
- WebHooks
- Aliyun
- Docker w/Nginx SSL & Hubot
- Easy, hands off deployment with Ansible
- Deploy with docker
- FreeBSD
- UBUNTU
- CentOS 7 without docker
- Other Linux distributions
- IBM Bluemix
- Heroku
- Nitrous.io
- sloppy.io
- Run Rocket.Chat behind a SSL Reverse Proxy
- Deploy Rocket.Chat without docker
- Windows Deployment
- Update Docker RC and keep old data