Cloud-IDE environment details.

Created by Shubham Kumar, Modified on Tue, 2 Apr at 2:41 PM by Shubham Kumar

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 affect the live-preview URL.


 

Language
Framework
Version
Python
Django
1.6.5
Python
Flask
0.10.1
Python
Tornado
 4.2
Ruby
Rails
4.1.8
PHP
Laravel
 1.1
PHP
CodeIgniter
 3.0.0
PHP
CakePHP
 3.0
PHP
Zend Framework
 2.4
PHP
Yii
 2.0.4
Go
Martini
 -
Go
net/http
 -
JavaScript
NodeJS
 0.10.32
JavaScript
Express
 -
JavaScript
AngularJS
1.3.0
JavaScript
JQuery
2.1.1
Java7
-
1.7.0_80
Java8
-
1.8.0_45
HTML/CSS
-
-

 

In case if you need any other framework support please free to write us at support@doselect.com & 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 supervisors. 


1. Create a custom conf file for the service.

cd /etc/supervisor/conf.d/
touch application_name.conf

 

2. Add the configuration as below. In case if there is no specific development server available then a lightweight Python webserver can be used.

cat application_name.conf
[program:application_name]
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 the 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:

supervisorctl reread

Followed by telling it to enact any changes with:

supervisorctl update

 

For more info: https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps


 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article