The cloud-IDE enables the candidate to develop, test and deploy their application in a completely isolated environment. Currently, we provide a 256MB, 1vCPU virtual environment in Debian Wheezy and Ubuntu 14.04 (Trusty Tahr) flavors with complete super-user access.
The default development server of all the frameworks will be running on port 2000.
Note: Do not make any changes to the port mappings as it will effect the live-preview URL.
In case if you need any other framework support please free to write us at firstname.lastname@example.org & we would be happy to add it for you.
You can also opt for the plain, vanilla OS template & ask the candidate to install/configure the framework you need. The candidate has to run the development server at port 2000 so that the live preview is available.
The candidate is requested to add the development server startup script under the control of supervisor.
1. Create a custom conf file for the service.
2. Add the configuration as below. In case if there is no specific development server available then a lightweight Python webserver can be used.
command = python -m SimpleHTTPServer 2000
directory = /home/hacker/workspace
stopsignal = KILL
killasgroup = true
stopasgroup = true
3. Once our configuration file is created and saved, we can inform Supervisor of our new program through the supervisorctl command.
First we tell Supervisor to look for any new or changed program configurations in the /etc/supervisor/conf.d directory with:
Followed by telling it to enact any changes with:
For more info: https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps