Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EDB-Apo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Adrian Christian Beilharz
EDB-Apo
Commits
ceda05e3
Commit
ceda05e3
authored
4 years ago
by
AdrianBeilharz
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' into dev-frontend
parents
3b7f0f2e
18819d96
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Backend/src/main/resources/application.properties
+1
-1
1 addition, 1 deletion
Backend/src/main/resources/application.properties
README.md
+12
-1
12 additions, 1 deletion
README.md
with
13 additions
and
2 deletions
Backend/src/main/resources/application.properties
+
1
−
1
View file @
ceda05e3
server.port
=
8080
endpoint
=
192.168.99.100
:3306
endpoint
=
db
:3306
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://${endpoint}/edb-apo-db
spring.datasource.username
=
edbapo
...
...
This diff is collapsed.
Click to expand it.
README.md
+
12
−
1
View file @
ceda05e3
# EDB-Apo
## Docker Container bauen
Auf Linux oder Windows mit java version 11 und maven
```
docker-compose down #only needed if containers already exist
cd Backend
...
...
@@ -9,3 +9,14 @@ mvn package -Dmaven.test.skip=true
cd ..
docker-compose up --build
```
Falls Auf der Windows Maschine kein Maven installiert ist, kann maven mit IntelliJ durchgeführt werden.
1.
Maven sidebar öffnen
2.
Rechtsklick auf backend>Lifecycle>package und modify run configuration
3.
Auf den Reiter "Runner" wechseln
4.
Checkbox "Use Project Settings" deaktivieren
5.
Checkbox "Skip Tests" aktivieren
6.
Übernehmen und OK.
7.
Rechtsklick und zweite Run Config ausführen, diese ist die geänderte Run Configuration
Die target .jar dateien wurden erfolgreich erzeugt.
`docker-compose up --build`
um Container zu bauen.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment