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

Scipion web development setup

Pablo Conesa edited this page Nov 25, 2015 · 25 revisions
Scipion Logo

Scipion web requires to have Scipion desktop running in the server. For that you will need to install Scipion. After this you should have python, Django and all the modules required to run Scipion web.

The simplest way to test your installation is to run scipion in webserver mode:

./scipion webserver

After this you should have it running at http://localhost:8000/

(Note: the script starts the web server listening to 0.0.0.0, so it might be accessible from other computers too)

Django scripts need write permission in $SCIPION_HOME

Matplotlib also needs write permission (by default, to ~/.matplotlib)

The recommended procedure is to setup a replica of the production environment on your development machine. Actually it takes little work, and you will be doing the test in the same environment as production.

To generate the database that django will use (used when uploading a file) run

./scipion webserver syncdb

To list all available Django commands

./scipion webserver help

You can run any Django command if you type it after webserver: useful for collectstatic content.

./scipion webserver <Django command>

 — Main.JesusCuenca - 2013-07-31

Clone this wiki locally