Skip to content

Commit 35dcdf7

Browse files
committed
dbeaver/pro#5697 new curl readme & fixes to the old ones
1 parent d89a17a commit 35dcdf7

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
This repo contains examples of using GraphQL API for [CloudBeaver Enterprise](https://dbeaver.com/cloudbeaver-enterprise/), [CloudBeaver AWS](https://aws.amazon.com/marketplace/pp/prodview-kijugxnqada5i), and [DBeaver Team Edition](https://dbeaver.com/dbeaver-team-edition/).
44

5-
The repo layout is self-explanatory: the folder [go](go) contains examples for the Go programming language, [python3](python3) includes examples for Python 3, and so on.
5+
# The repo layout
6+
7+
- The [curl](curl) folder contains examples using `curl` command line tool.
8+
- The [go](go) folder contains examples for the Go programming language.
9+
- The [operations](operations) folder contains raw examples. They are used by projects from other folders.
10+
- The [python3](python3) includes examples for Python 3.
611

712
## GraphQL API and prerequsites
813

curl/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Usage of DBeaver Team Edition GraphQL API with `curl`
2+
3+
How to start:
4+
1. Change the current directory to the directory with this README file.
5+
2. Create the `../.env` file from the `../.env.template` (see the repository root for file `.env.template`)
6+
```sh
7+
cp ../.env.template ../.env
8+
```
9+
3. Fill the environment variables in the `.env` file.
10+
4. Execute the script with
11+
```sh
12+
./team-edition.sh
13+
```

python3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ python3 -m venv .venv
1919
```sh
2020
pip install -r requirements.txt
2121
```
22-
5. Create the `.env` file from the `.env.template`
22+
5. Create the `../.env` file from the `../.env.template` (see the repository root for file `.env.template`)
2323
```sh
24-
cp .env.template .env
24+
cp ../.env.template ../.env
2525
```
2626
6. Fill the environment variables in the `.env` file.
2727
7. Execute the script with

0 commit comments

Comments
 (0)