... | ... | @@ -54,4 +54,38 @@ npm install |
|
|
- **Step 4**: Finally, you can start the SDK4ED Dashboard server and a web page should open on your favorite browser. Open cmd and run the following command:
|
|
|
```bash
|
|
|
npm start
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
- **Step 5**: Visit http://localhost:3000/. You should be redirected to Keycloak login page.
|
|
|
- **Step 6**: Enter your username and password (configured in Keycloak SDK4ED Realm above) or register as a new user.
|
|
|
- **Step 7**: You should be able to access the dashboard home page.
|
|
|
|
|
|
## Installation of SDK4ED Dashboard using Docker
|
|
|
Alternatively, you can install the SDK4ED Dashboard using Docker.
|
|
|
- **Step 1**: Download and install [Docker](https://www.docker.com/).
|
|
|
- **Step 2**: Clone the latest Project Management service version that can be found in the present Gitlab repository and navigate to the root directory.
|
|
|
- **Step 3**: Open cmd and copy `.env-default` to `.env`:
|
|
|
```
|
|
|
cp ./.env-default ./.env
|
|
|
```
|
|
|
- **Step 4**: Open cmd and run:
|
|
|
```
|
|
|
sudo docker run -it \
|
|
|
--publish 3000:3000 \
|
|
|
--name sdk4ed-dashboard \
|
|
|
--mount src=*/<path_to_sdk4ed-dashboard_folder/>*,target=/mounted_folder,type=bind \
|
|
|
node
|
|
|
```
|
|
|
- **Step 5**: Open cmd and run:
|
|
|
```
|
|
|
sudo docker exec -it sdk4ed-dashboard bash`
|
|
|
```
|
|
|
This command will generate and run a Docker Container named sdk4ed-dashboard in interactive session mode, i.e. it will open a command promt inside the Container.
|
|
|
- **Step 5**: While in interactive session mode run:
|
|
|
```
|
|
|
cd mounted_folder
|
|
|
npm install
|
|
|
npm start
|
|
|
```
|
|
|
- **Step 6**: Visit http://localhost:3000/. You should be redirected to Keycloak login page.
|
|
|
- **Step 7**: Enter your username and password (configured in Keycloak SDK4ED Realm above) or register as a new user.
|
|
|
- **Step 8**: You should be able to access the dashboard home page. |