generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 0
Build and Deploy Documentation
Steve edited this page Jun 6, 2022
·
12 revisions
This page contains the build and deploy guide of the Digital Identity Software.
Docker will be require to build and deploy our application.
For setting the development server up Node.js, Marven, Docker and Angular CLI is required:
- Node.js
- Angular CLI
- Marven
- Docker
You have to clone the project using the following command in a Git Bash terminal:
git clone https://github.com/amosproj/amos2022ss04-digital-identity.git
cd src/digitalIdentity-frontend/
npm install
ng serve --open
Access URL: http://localhost:4200
- For Testing the Frontend see more information here.
sudo apt install mysql-common # or similar
sudo mysql --password # type in your root password of linux machine
create database digital_identity;
create user 'didentity'@'%' identified by 'aosai6aH';
grant all on digital_identity.* to 'didentity'@'%';
quit;
- In
src/digitalIdentity-backend/src/main/resources/application.properties
you have to define the mail settings. - For a gmail adress you need to create an app password, which you need to enter in the application.properties file. (https://support.google.com/accounts/answer/185833)
- A valid section in application.properties could look like this:
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=myemail@gmail.com
spring.mail.password=wajorjsyogivfugt
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
- In
src/digitalIdentity-backend/src/main/resources/application.properties
you have to define the Credential. - You can find the Credential in the screenshot in the mail "Links and Information" (19.05.2022) (Field: Client Secret).
lissi.client.id= <to be filled>
cd src/digitalIdentity-backend/
./mvnw spring-boot:run
- For Testing the Backend see more information here.