AGIS CMS Evaluation
AGIS documentation
Installing AGIS
Hardware and software requirements
There are no special hardware requirements for AGIS, the evaluation has been performed using a virtual machine with the following features:
A project in Openstack called
IT CMS Information System
has been created to be able to deploy AGIS testing services.
For the software requirements, python 2.6 is recommended. The VM where AGIS has been evaluated is running SLC6. The following packages are also needed:
Installation steps
The following steps need to be done to install AGIS:
- Get AGIS source code:
- Configure AGIS WebUI:
-
cd base/agis_django/projs/web/
-
cp settings_essential.template.py settings_essential.py
- Define the proper path in
settings_essential.py
: 'PYTHON_PATH': ['/tmp/workspace/base']
- By default sqlite3 is used as DB back end but this can be configured to a different back end. The evaluation has been performed with the default configuration.
- Initialize the database:
-
cd base/agis_django/projs/web/
-
pyhon2.6 manage.py syncdb
(It asks to create a superuser
)
-
python2.6 manage.py syncdb
( This is run twice to populate DB with stub objects )
- Populate AGIS with some content
-
wget http://atlas-agis.cern.ch/docs/json_dir/agis_db_2014_01_20_0916.json
-O /tmp/agis_db_2014_01_20_0916.json
-
export PYTHONPATH=/tmp/workspace/base:$PYTHONPATH
-
export DJANGO_SETTINGS_MODULE=agis_django.projs.web.settings
-
python2.6 -m agis_django.apps.agis_crons.crons.manager --cron=ContentLoaderCron -c start jsonfile=/tmp/agis_db_2014_01_20_0916 process_all=True
- Start the server:
-
python2.6 manage.py runserver host_name:5555
--
MariaALANDESPRADILLO - 22 Jan 2014