If you run into troubles, got a suggestion, or issue, please e-mail editor@webtigerteam.com

# Instructions for hosting the editor yourself

Note that the editor can be downloaded and run like a native app.

This is a tutorial for setting up the back-end/server only (which can then be accessed from a web browser).

### Supported OS

Setting up the server for a single user (yourself) should work on any OS capable of running Node.js.
When setting up the server for multiple users however it's recommended to host it on a Linux (Ubuntu) machine.

### Command prompt/terminal

This guide assumes you are familiar with the terminal/command prompt.

#### 1. Install Node.JS if it's not already installed on your system

Read instructions on nodesource distributions or download a package or installation file.

#### 2. download the server package tar.gz:

Take notice of the latest server release for WebIDE. Then download it:
(Replace the number 1337 with the latest WebIDE server relase!)

wget https://www.webtigerteam.com/editor/download/webide-v1_alpha-1337-server.tar.gz

#### 3. unpack the tarball

tar xf webide-v1_alpha-1337-server.tar.gz

#### 4. Go into it's folder

cd webide-v1_beta-1337-server

#### 5. Install dependencies

npm install

#### 6. Try running the server

Replace IP below with your server's IP.

node server.js --username=$(whoami) --password=somethingsecret --port=8080 --ip=127.0.0.1 -nochroot

If it seems to work, open up a browser and type in the ip:port into the URL. For example: http://127.0.0.1:8080

## Running for a single user

If you followed the instructions above and got it to work, there's little else you need to do.
You might want to edit the settings in default.js and setup the server to run as a service (see examples in /etc/)

## Running as a cloud IDE for multiple users

For example for a software team or school.

sudo ./cloudide_install.js -email your@mail.com -host yourdomain.com

This script will use apt to install Nginx, Apparmor, etc. And setup systemd services and Nginx site config.

If you are running this in a cointainer you need to forward port 80 and 443 (Http and httpS) to it.

If you get stuck you can find more info in theREADME.txt under "Running as a cloud editor".
You can also e-mail editor@webtigerteam.com for support.

- ⬅Go back
- ⬆Index