Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Installation

pizzapanther edited this page Nov 7, 2011 · 24 revisions

Installation

Requirements

  1. Python with SSL Support (sudo apt-get install python-ncrypt)
  2. OpenSSL (sudo apt-get install openssl)

Notes on Default Install

For ease of installation, Neutron by default creates a SQLite 3 database and has a built in CherryPy HTTP Server. If you would like to change the default database or any other settings, create a settings_local.py file in the Neutron-IDE/neutron/ directory. You can also install Neutron IDE behind many different web servers. For more information on how to do this, see the Django Deployment Docs. Lastly, Neutron IDE by default will create a SSL certificate for you so all traffic is encrypted.

The default CherryPy server also starts on two ports, 8000 and 8001. The first port, 8000, is SSL and is how you should interact with the IDE. The second port, 8001, is non-SSL and for external tool requests like for the external image editor.

Default Install

git clone https://github.com/pizzapanther/Neutron-IDE.git
cd Neutron-IDE/neutron
./manage.py syncdb
./manage.py migrate
./manage.py runide
  1. Visit https://localhost:8000/admin/ (Notice https)
  2. Fill out a user profile for your user under the User section. (Fill out Base directory. This is where you store all your code.)
  3. Visit https://localhost:8000/
  4. Start coding!

You will probably be running this on a cloud server so you will want to run the IDE on an open address and not localhost. See ./manage.py runide help for more options. Example configuration:

./manage.py runide host=0.0.0.0 server_name=ide.myserver.com

Upgrade Instructions

cd Neutron-IDE
git pull
cd neutron
./manage.py migrate
./manage.py runide

Tracking

In version 11.11 Google Analytics was added to the editor so we can keep a count of how many people use Neutron IDE. If you would like to turn off the tracking, in settings_local.py set IDE_TRACK = True.

Clone this wiki locally