Portal: https://portal.rcd-nexus.org/
WordPress: https://rcd-nexus.org/
This project uses Visual Studio Dev Containers to provide easy-to-setup, isolated development environments.
Clone this repository and open it in VSCode.
Install the official Dev Containers
extension for VSCode. The author should be verified as "Microsoft".
A prompt may appear to open the current repository in a container. If this does not appear, you can click the green section in the bottom left of the VSCode interface and select "Reopen in container". This will create your isolated development environment.
If successful, you can open a VSCode terminal and run poetry shell
to activate your Python environment and execute ./manage.py
commands, etc.
To create a superuser that can access the Admin interface, run ./manage.py createsuperuser
.
After your environment is built and activated, run ./manage.py loaddata facings legacy_capmodel
.
Historical datasets include sensitive data that subject to a signed MOU with the project data managers. Ask on one of the project lists or Slack channels for more information and to get access.
To load historical data, first copy the legacy datasets into data/sensitive/
in your local tree then run ./manage.py load_nexus_data
from the top of the repository. This may take a couple minutes.
The environment variables CILOGON_CLIENT_ID
and CILOGON_CLIENT_SECRET
are used to integrate with CILogon.
For example, create or edit .env
with the content:
export CILOGON_CLIENT_ID="cilogon:/client_id/<id>"
export CILOGON_CLIENT_SECRET="<secret>"
Then run source .env
in each session.