-
Notifications
You must be signed in to change notification settings - Fork 0
LocalTesting
tudalex edited this page Apr 16, 2013
·
1 revision
Prerequisites: node.js installed.
On Linux/Mac OS, you only have to do sudo apt-get install nodejs
, respectively brew install node
for the above requirement.
For accessing the redis database use:ssh -fN -L 6379:0.0.0.0:6379 -L 27017:0.0.0.0:27017 <username>@dev5.tudalex.com
On Windows, here comes the fun part:
Install Node.js
Also you must install the following Node.js packages
npm install redis supervisor mongodb socket.io
For accessing Redis.io remote database you must use Putty for port forwarding (SSH Tunnel)
1. Under Config Sessions:
- Add the HostName for a SSH connection : _user_**@dev.tudalex.com**
2. Under Connections -> SSH -> Tunnels :
- Source Port: 6379
- Destination: dev5.tudalex.com:6379
- Leave the Local and Auto checked.
- Press Add button. Now you should see the following line in the Forwarded Ports Table:
L6379 dev.tudalex.com:6379
- Repeat for port 27017.
3. Open the SSH connection.
URL for testing is: LocalTest
Server users:
red
p1gl3t
johnthebrave
tudalex
Daca nu stiti parola bateti pe cineva la cap sa o schimbe ca toti avem drepturi de sudo.