Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W Wiki Home
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • SDK4ED WikiSDK4ED Wiki
  • Wiki Home
  • Wiki
  • Frontend Installation

Frontend Installation · Changes

Page history
Update Frontend Installation authored Dec 18, 2020 by Dimitris Tsoukalas's avatar Dimitris Tsoukalas
Hide whitespace changes
Inline Side-by-side
Frontend-Installation.md
View page @ 7653cd87
......@@ -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.
Clone repository
  • Advanced
  • Architectural Toolbox Description
  • Architectural Toolbox Front End
  • Architectural Toolbox Home
  • Architectural Toolbox Installation
  • Architectural Toolbox Usage
  • Decision Support Toolbox Description
  • Decision Support Toolbox Front end
  • Decision Support Toolbox Installation
  • Decision Support Toolbox Usage
  • Decision Support Toolbox
  • Energy Toolbox Description
  • Energy Toolbox Front end
  • Energy Toolbox Installation
  • Energy Toolbox Usage
View All Pages