Skip to content

NAC‐Setup

Dan1elRoos edited this page Dec 12, 2024 · 4 revisions

NAC-Setup

Installation

  1. Clone Github Repository
git clone https://github.com/UKB-IT-Sec/NAC-Service-Portal.git
  1. Create Virtual Environment
cd NAC-Service-Portal/src
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
  1. Setup
python3 manage.py makemigrations
python3 manage.py migrate

Create Superuser

python3 manage.py createsuperuser

createsuperuser

Create Device Roles, Authorization Groups and Users

  1. Start server
python3 manage.py runserver
  1. Go to http://127.0.0.1:8000/admin
  2. Login with your superuser

Login_as_admin

Django_admin-page

  1. Add a DeviceRoleProd

DeviceRoleProd

  1. Add a DeviceRoleInst

DeviceRoleInst

  1. Add an AuthorizationGroup

AuthorizationGroup

  1. Add a User

User

Login

  1. Go to http://127.0.0.1:8000/
  2. Login with user credentials Login