... | @@ -34,9 +34,9 @@ npm install |
... | @@ -34,9 +34,9 @@ npm install |
|
```bash
|
|
```bash
|
|
npm start
|
|
npm start
|
|
```
|
|
```
|
|
- **Step 5**: Visit http://localhost:3004/ to navigate to the VM4SEC dashboard. You should be able to access the dashboard home page.
|
|
- **Step 5**: Visit http://localhost:3000/ to navigate to the VM4SEC dashboard. You should be able to access the dashboard home page.
|
|
|
|
|
|
# Installation of SDK4ED Dashboard using Docker
|
|
# Installation of SDK4ED Dashboard using Docker (recommended)
|
|
Alternatively, you can install the VM4SEC Dashboard using Docker.
|
|
Alternatively, you can install the VM4SEC Dashboard using Docker.
|
|
- **Step 1**: Download and install [Docker](https://www.docker.com/).
|
|
- **Step 1**: Download and install [Docker](https://www.docker.com/).
|
|
- **Step 2**: Clone the latest VM4SEC Dashboard version that can be found in the present Gitlab repository and navigate to the root directory.
|
|
- **Step 2**: Clone the latest VM4SEC Dashboard version that can be found in the present Gitlab repository and navigate to the root directory.
|
... | @@ -48,7 +48,7 @@ cp ./.env-default ./.env |
... | @@ -48,7 +48,7 @@ cp ./.env-default ./.env |
|
- **Step 4**: Open cmd and run:
|
|
- **Step 4**: Open cmd and run:
|
|
```
|
|
```
|
|
sudo docker run -it \
|
|
sudo docker run -it \
|
|
--publish 3004:3000 \
|
|
--publish 3000:3000 \
|
|
--name vm4sec-dashboard \
|
|
--name vm4sec-dashboard \
|
|
--mount src=<path_to_vm4sec-dashboard_folder>,target=/mounted_folder,type=bind \
|
|
--mount src=<path_to_vm4sec-dashboard_folder>,target=/mounted_folder,type=bind \
|
|
node
|
|
node
|
... | @@ -64,7 +64,7 @@ cd mounted_folder |
... | @@ -64,7 +64,7 @@ cd mounted_folder |
|
npm install
|
|
npm install
|
|
npm start
|
|
npm start
|
|
```
|
|
```
|
|
- **Step 6**: Visit http://localhost:3004/ to navigate to the VM4SEC dashboard. You should be able to access the dashboard home page.
|
|
- **Step 6**: Visit http://localhost:3000/ to navigate to the VM4SEC dashboard (change the port accordingly in case you updated it in the `docker run` command). You should be able to access the dashboard home page.
|
|
|
|
|
|
# MongoDB
|
|
# MongoDB
|
|
|
|
|
... | | ... | |