To run CISO Assistant Enterprise locally in a straightforward way, you can use Docker compose.
-
Make sure you are located in the enterprise directory of the repository
-
Launch docker-compose script with enterprise docker-compose.yml file:
./docker-compose-build.sh -f enterprise/docker-compose-build.yml
When asked for, enter your email and password for your superuser.
You can then reach CISO Assistant using your web browser at https://localhost:8443/
Note
This section assumes that you have already set up the community frontend and backend, and use poetry for managing the backend dependencies.
- Go to community backend directory.
cd ../backend
- Open poetry shell.
poetry shell
- Install enterprise backend module.
cd ../enterprise/backend
poetry install
- Set the
SQLITE_FILE
environment variable if you use SQLite.
export SQLITE_FILE=db/ciso-assistant-enterprise.sqlite3
- Apply migrations.
poetry run ./manage.sh migrate
- Create a Django superuser, that will be CISO Assistant administrator.
poetry run ./manage.sh createsuperuser
- Run the development server.
poetry run ./manage.sh runserver
- cd into the enteprise frontend directory.
cd enterprise/frontend
- Start a development server (make sure that the django app is running).
make dev
- Reach the frontend on http://localhost:5173