... | ... | @@ -61,3 +61,19 @@ npm install |
|
|
npm start
|
|
|
```
|
|
|
- **Step 6**: Visit http://localhost:3004/ to navigate to the VM4SEC dashboard. You should be able to access the dashboard home page.
|
|
|
|
|
|
# MongoDB
|
|
|
|
|
|
A MongoDB is necessary for storing the results of the analysis that is performed by the individual services of the VM4SEC Platform. The VM4SEC Dashboard uses this MongoDB in order to keep the results of each analysis.
|
|
|
|
|
|
The process of setting up a database for the VM4SEC Platform is simple. The user just needs to deploy the latest MongoDB instance from DockerHub. In particular, the following command needs to be executed:
|
|
|
|
|
|
```
|
|
|
docker run --detach \
|
|
|
-p 27017:27017 \
|
|
|
--name mongodb \
|
|
|
--volume path/to/mongo_data:/data/db \
|
|
|
mongo
|
|
|
```
|
|
|
|
|
|
It should be noted that a _volume _is necessary in order to permanently store the results of the analysis. If this parameter is not set, the results that are stored in the database are lost every time you restart the docker container. |
|
|
\ No newline at end of file |