If you are running `app.js` as `root` and have an Nginx proxy you have to use:
@ -83,17 +86,20 @@ Else if you are running `app.js` as a regular user you have to use:
Dockerized Version
------------------
This repo includes a Dockerfile you can use to run a Dockerized version of wetty. You can run
This repo includes a Dockerfile you can use to run a Dockerized version of wetty. You can run
whatever you want!
Just do:
Just modify docker-compose and run:
```
docker run --name term -p 3000 -dt krishnasrinivas/wetty
docker-compose up -d
```
Visit the appropriate URL in your browser (`[localhost|$(boot2docker ip)]:PORT`).
The username is `term` and the password is `term`.
Visit the appropriate URL in your browser (`[localhost|$(boot2docker ip)]:PORT`).
The default username is `term` and the password is `term`, if you did not modify `SSHHOST`
If you dont want to build the image yourself just remove the line `build; .`
Run wetty as a service daemon
-----------------------------
@ -106,6 +112,9 @@ Install wetty globally with -g option:
$ sudo start wetty
```
This will start wetty on port 3000. If you want to change the port or redirect stdout/stderr you should change the last line in `wetty.conf` file, something like this: