Project for the Virgo DetChar Activities, here there are the setup instructions for local installation!
Documentation status
NICE provides an user-friendly configuration of the environment needed for its usage. You should be able to execute what follows:
-
Clone repository from this GitHub repository;
-
Go to the parent directory of the project:
cd ../
- Create a Python3 environment called
venv-django-py3
. This should be done withpip
installing functionalities included:
python3 -m venv venv-django-py3
- Activate the empty environment:
source venv-django-py3/bin/activate
- Check if the default packages are installed and up-to dated. Check also the versions Python3 version with
python
command:
python --version
pip list
- Go to the main directory of the project and install the requirements package from the
requirements.txt
file, which has been created withpip freeze > requirements.txt
:
pip install -r requirements.txt
- Setup the environment variables using the provided bash file:
source setup_vmutils.sh
Remember to activate the environment and the variables every time you open the terminal!