Skip to content
A self-assessment tool by @CASES-LU to help business owners implement a better cybersecurity strategy.
TSQL Python HTML JavaScript CSS Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
csskp reformatted with black Feb 19, 2020
docker/python
locale
static
stats reformatted with black Feb 19, 2020
survey Removed the print functions. Feb 19, 2020
templates
utils
wtemps
.gitignore
CHANGELOG.md
COPYING
LICENSE
README.md Updated README. Feb 15, 2020
docker-compose.yml
manage.py
package-lock.json
package.json
poetry.lock
pyproject.toml
wait-for-postgres.sh

README.md

Fit4Cybersecurity

Fit4Cybersecurity is a self-assessment tool by CASES to help business owners implement a better cybersecurity strategy.

The official CASES instance is available here.

Deployment

Requirements

$ sudo apt install gettext postgresql

Set up your Python environment

$ pyenv install 3.8.1 # install Python
$ pyenv global 3.8.1 # make this version default for the whole system
$ pyenv versions # check

Install the application

$ git clone https://github.com/CASES-LU/Fit4Cybersecurity.git
$ cd Fit4Cybersecurity/
$ npm install
$ poetry install

Configure and run the application

$ cp csskp/config_dev.py csskp/config_prod.py # configure production settings
$ poetry shell
$ python manage.py collectstatic # copy static files required by Django Admin
$ python manage.py compilemessages # compile the translations
$ python manage.py createsuperuser --username <username>

Run the application:

$ python manage.py runserver # not for production

For production you can use Gunicorn or mod_wsgi.

Deploy with a Dockerized environment (for development purposes)

Install Docker

Start the containers

$ docker-compose build
$ docker-compose up -d

The server will be listening at http://127.0.0.1:8000.

Upgrading the application

Updating the models

$ cd Fit4Cybersecurity/
$ git pull origin master
$ poetry shell
$ python manage.py migrate

Internationalization

Simply compile the new translations:

$ python manage.py compilemessages

If you want to update the translations, you must first run:

$ python manage.py makemessages # extract the translations

Then you can use a tool like poedit to translate the strings and you can compile with the previously mentioned command.

License

This software is licensed under GNU Affero General Public License version 3

  • Copyright (C) 2019-2020 SMILE gie securitymadein.lu
You can’t perform that action at this time.