Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fda-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FAIR Data Austria DB Repository
fda-docs
Commits
1af04bc1
Unverified
Commit
1af04bc1
authored
2 years ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
New format
parent
1fd7a88a
No related branches found
No related tags found
No related merge requests found
Pipeline
#2750
passed
2 years ago
Stage: configure
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/getting-started.md
+13
-24
13 additions, 24 deletions
docs/getting-started.md
docs/grafana.html
+0
-10
0 additions, 10 deletions
docs/grafana.html
with
13 additions
and
34 deletions
docs/getting-started.md
+
13
−
24
View file @
1af04bc1
...
@@ -93,10 +93,9 @@ We develop all packages with the following software requirements:
...
@@ -93,10 +93,9 @@ We develop all packages with the following software requirements:
For local development you need to clone the repository and build the services from scratch:
For local development you need to clone the repository and build the services from scratch:
```
console
git clone git@gitlab.phaidra.org:fair-data-austria-db-repository/fda-services.git
git clone git@gitlab.phaidra.org:fair-data-austria-db-repository/fda-services.git
make build
make build
```
#### Swagger Codegen
#### Swagger Codegen
...
@@ -104,15 +103,11 @@ It is possible to use the Swagger documentation of the services to generate HTTP
...
@@ -104,15 +103,11 @@ It is possible to use the Swagger documentation of the services to generate HTTP
Clients can only begenerated when DBRepo is running. Just download
Clients can only begenerated when DBRepo is running. Just download
the
[
`swagger-codegen-cli.jar`
](
https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/
)
and start the services:
the
[
`swagger-codegen-cli.jar`
](
https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/
)
and start the services:
```
console
docker-compose up -d
docker-compose up -d
```
Run the codegen tool:
Run the codegen tool:
```
console
java -jar ./swagger-codegen-cli-2.x.y.jar generate -i ./api-docs.yaml -l python -o ./api-container
java -jar ./swagger-codegen-cli-2.x.y.jar generate -i ./api-docs.yaml -l python -o ./api-container
```
### Debugging
### Debugging
...
@@ -120,12 +115,10 @@ java -jar ./swagger-codegen-cli-2.x.y.jar generate -i ./api-docs.yaml -l python
...
@@ -120,12 +115,10 @@ java -jar ./swagger-codegen-cli-2.x.y.jar generate -i ./api-docs.yaml -l python
Start all containers with docker-compose:
Start all containers with docker-compose:
```
console
docker-compose up -d
docker-compose up -d
docker container stop fda-xxxxx-service # <<< replace with the service you want to debug
docker container stop fda-xxxxx-service #
<<<
replace with the service you want to debug
docker container rm fda-xxxxx-service # <<< replace with the service you want to debug
docker container rm fda-xxxxx-service #
<<<
replace with the service you want to debug
docker-compose logs -f
docker-compose logs -f
```
Then start the container in your IDE and debug it.
Then start the container in your IDE and debug it.
...
@@ -133,14 +126,10 @@ Then start the container in your IDE and debug it.
...
@@ -133,14 +126,10 @@ Then start the container in your IDE and debug it.
Start all containers with docker-compose:
Start all containers with docker-compose:
```
console
docker-compose up -d
docker-compose up -d
docker container stop fda-ui && docker container rm fda-ui
docker container stop fda-ui && docker container rm fda-ui
docker-compose logs -f
docker-compose logs -f
```
Then start the frontend in another console window:
Then start the frontend in another console window:
```
console
yarn --cwd=./fda-ui dev
yarn --cwd=./fda-ui dev
```
This diff is collapsed.
Click to expand it.
docs/grafana.html
deleted
100644 → 0
+
0
−
10
View file @
1fd7a88a
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"refresh"
content=
"0; URL=http://s125.dl.hpc.tuwien.ac.at:8080/grafana/d/R4B-UWZVz/dbrepo-airquality-austria?orgId=1"
/>
<title>
Redirecting to Grafana...
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
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