mirror of https://github.com/MISP/misp-modules
chg: [launch] misp-modules
parent
62ce883a71
commit
18d4347f51
|
@ -19,6 +19,8 @@ git submodule init && git submodule update ## Initialize misp-objects submodul
|
||||||
python3 app.py -i ## Initialize db
|
python3 app.py -i ## Initialize db
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Don't forget to install **misp-modules**...
|
||||||
|
|
||||||
## Config
|
## Config
|
||||||
|
|
||||||
Edit `config.py`
|
Edit `config.py`
|
||||||
|
@ -35,8 +37,6 @@ Edit `config.py`
|
||||||
|
|
||||||
- `ADMIN_PASSWORD`: Password for Admin user if `ADMIN_USER` is True
|
- `ADMIN_PASSWORD`: Password for Admin user if `ADMIN_USER` is True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Rename `config.cfg.sample` to `config.cfg` then edit it:
|
Rename `config.cfg.sample` to `config.cfg` then edit it:
|
||||||
|
|
||||||
- `ADMIN_USER`: If True, config page will not be accessible
|
- `ADMIN_USER`: If True, config page will not be accessible
|
||||||
|
|
|
@ -11,7 +11,7 @@ function launch {
|
||||||
export FLASKENV="development"
|
export FLASKENV="development"
|
||||||
killscript
|
killscript
|
||||||
screen -dmS "misp_mod"
|
screen -dmS "misp_mod"
|
||||||
screen -S "misp_mod" -X screen -t "misp_modules_server" bash -c "../env/bin/misp-modules -l 127.0.0.1; read x"
|
screen -S "misp_mod" -X screen -t "misp_modules_server" bash -c "misp-modules -l 127.0.0.1; read x"
|
||||||
sleep 2
|
sleep 2
|
||||||
python3 app.py -m
|
python3 app.py -m
|
||||||
python3 app.py
|
python3 app.py
|
||||||
|
|
Loading…
Reference in New Issue