git clone ssh://[email protected]:7999/lhcb-core/LHCbPR2BEcd LHCbPR2BEcp site/settings/private.default.py site/settings/private.py./scripts/runserver (at local server)Site is tested only with python2, so you need to setup only python virtual environment
virtualenv venv # at LHCbPR2BE folder. Use -p option if you need to select python executable
source venv/bin/activate
./scripts/runserver <YOURENV> if it exists the file ./envs/YOURENV.env then the configuration is loaded from this file.
** Default configuration **
DJANGO_STATIC_URL=/api/static/
DJANGO_HTTP_PORT=8080
DJANGO_LOG_LEVEL=INFO
DB_ENGINE=django.db.backends.sqlite3
DB_HOST=
DB_USER=
DB_PASSWORD=
DB_DATABASE=lhcbprdev
DB_PORT=
DATA_ROOT=data
DATA_ROOT points to the folder with jobs output files.Zip files contains handlers' results. You can import them by using the followinf command:
./site/manage.py lhcbpr_import /path/to/directory/with/zips
You can update base records at the administration area. By default the path is
/api/admin. There you can add applications, options and custumize executables.
For test purposes the default username is "lhcbpr" and password is "backend".
Content type
Image
Digest
Size
296.1 MB
Last updated
about 9 years ago
docker pull mazurov/lhcbpr2be