No description
Find a file
2024-07-09 16:33:18 +02:00
.vscode new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
active_exercises new: [exercises] Added flubot exercise (untested) 2024-07-02 16:14:08 +02:00
dist chg: [front:user-activity] Improved color ranges 2024-07-09 15:27:31 +02:00
exercises new: [app:evaluator_query-search] Added query-search evaluator and made full evaluation chain async 2024-07-04 14:49:26 +02:00
public new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
src chg: [front:user-activity] Improved color ranges 2024-07-09 15:27:31 +02:00
.eslintrc.cjs new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
.gitignore new: [app:backup] Added backup feature that saves exercise progress every 5sec 2024-07-08 10:21:59 +02:00
.prettierrc.json new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
config.py.sample fix: [backend:exercise] Correctly restore email mapping 2024-07-09 16:13:45 +02:00
db.py new: [app:user_activity] Added user activity chart 2024-07-09 12:19:20 +02:00
exercise.py chg: [bacjend:exercise] More details about task status 2024-07-09 16:33:18 +02:00
index.html new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
inject_evaluator.py new: [app:evaluator_query-search] Added query-search evaluator and made full evaluation chain async 2024-07-04 14:49:26 +02:00
jsconfig.json new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
misp_api.py chg: [backend] Make everything async relying on asyncio 2024-07-03 11:51:44 +02:00
notification.py fix: [backend:app] Make sure to cast uesr_id into integer and updated config.sample 2024-07-09 14:20:28 +02:00
package-lock.json new: [app:notification_history] Added notification history support 2024-07-04 19:46:05 +02:00
package.json new: [app:notification_history] Added notification history support 2024-07-04 19:46:05 +02:00
postcss.config.js new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
README.md chg: [app:config] Avoid overriding config file and git conflicts 2024-07-04 14:59:19 +02:00
REQUIREMENTS chg: [backend] Usage of aiohttp in place of eventlet 2024-07-02 16:48:55 +02:00
server.py fix: [backend:server] Ensure no user are registered as user_id=0 2024-07-09 16:28:15 +02:00
tailwind.config.js chg: [app:live-logs] Improved notification activity chart 2024-07-08 13:17:12 +02:00
utils.py new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00
vite.config.js new: [app] Added v0.1 of the application 2024-06-26 15:30:47 +02:00

misp-exercise-dashboard

Installation

# Setup venv
python3 -m venv venv
source venv/bin/activate

# Install deps
pip3 install -r REQUIREMENTS

# Create config file and adapt it to your needs
cp config.py.sample config.py

Running the PROD setup

python3 server.py
# Access the page http://localhost:4000 with your browser

Running the DEV setup

python3 server.py
npm run dev
# Access the page provided by the output of the above command

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint