This page offers a broad overview. For detailed instructions, refer to the documentation.
1.) Create a project folder, create a virtual python environment and activate it
mkdir sample_project
python3 -m venv venv
source venv/bin/activate
2.) Download the latest NDR Core module and create a django project
pip install django-ndr-core
django-admin startproject yourprojectname
cd yourprojectname/yourprojectname
3.) Initialize NDR Core
Open settings.py
and add ndr_core to the INSTALLED_APPS
array. This lets you execute the init script:
cd ..
python manage.py init_ndr_core
Enter the asked values and let the routine overwrite your settings and urls file.
4.) Start your server and start configuring
python manage.py runserver
Go to http://localhost:8000/ to view your page, go to http://localhost:8000/ndr_core/ to get to the administration interface. The default user is ndr_core_admin
, the default password is ndr_core
Go to http://localhost:8000/ndr_core/ to get to the administration interface. The default user is ndr_core_admin
, the default password is ndr_core.
You will need to configure the following to have a functional search:
If you want, you can do the following: