Changes

Jump to navigation Jump to search
104 bytes added ,  09:25, 29 August 2016
m
Line 69: Line 69:  
  npm install
 
  npm install
   −
===Set environment variables for Rocket.Chat===
+
Rocket.Chat has now been installed and you can test-drive you installation.
 +
 
 +
First we need to set some environment variables manually (Please use your own correct settings):
 
  export ROOT_URL=http://yourserver.com/
 
  export ROOT_URL=http://yourserver.com/
 
  export MONGO_URL=mongodb://localhost:27017/rocketchat
 
  export MONGO_URL=mongodb://localhost:27017/rocketchat
Line 75: Line 77:  
  export MAIL_URL=smtp://localhost:25
 
  export MAIL_URL=smtp://localhost:25
   −
===Start Rocket.Chat for the first time===
+
and then we can start Rocket.Chat manually (with CTL-C you can quit Rocket.Chat):
 
  cd /opt/Rocket.Chat
 
  cd /opt/Rocket.Chat
  node main.js &
+
  node main.js
    
Browse to http://yourserver:3000 and create the first admin user.
 
Browse to http://yourserver:3000 and create the first admin user.
  −
The Rocket.Chat log files are at /var/log/rocketchat.log
  −
      
{{Note box|This FIRST user will be the 'master administrator' even if you use [[Rocket_Chat#LDAP_Authentication|'''LDAP authentication''']] for your users. So if even if you use LDAP, this user will still be able to login and grant Rocket.Chat admin rights to [[Rocket_Chat#LDAP_Authentication|LDAP]] accounts.}}
 
{{Note box|This FIRST user will be the 'master administrator' even if you use [[Rocket_Chat#LDAP_Authentication|'''LDAP authentication''']] for your users. So if even if you use LDAP, this user will still be able to login and grant Rocket.Chat admin rights to [[Rocket_Chat#LDAP_Authentication|LDAP]] accounts.}}

Navigation menu