-
Notifications
You must be signed in to change notification settings - Fork 28
Installation
- Python with SSL Support (sudo apt-get install python-ncrypt)
- OpenSSL (sudo apt-get install openssl)
- Python Package Installer (Recommended, sudo apt-get install python-pip)
For ease of installation, Neutron by default creates a SQLite 3 database and has a built in Tornado Web 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 Tornado server 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. To change these ports add HTTP_PORT and IMG_EDITOR_PORT to your settings_local.py.
git clone https://github.com/pizzapanther/Neutron-IDE.git
cd Neutron-IDE
pip install -r requirements.txt
cd neutron
./manage.py syncdb
./manage.py migrate
./neutronide.py -l
- Visit https://localhost:8000/admin/ (Notice https)
- Fill out a user profile for your user under the User section. (Fill out Base directory. This is where you store all your code.)
- Visit https://localhost:8000/
- Start coding!
Directory searches require running Celery which processes asynchronous tasks. To start Celery run the following:
./manage.py celeryd
cd Neutron-IDE
git pull
pip install -r requirements.txt
cd neutron
./manage.py syncdb
./manage.py migrate
./neutronide.py -l
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 = False.