33 lines
624 B
Markdown
33 lines
624 B
Markdown
# A BaseX development environment for vscode
|
|
|
|
## docker build
|
|
```
|
|
docker build --tag=vscode4.16-basex10.7 .
|
|
```
|
|
## compose
|
|
```
|
|
docker-compose up
|
|
```
|
|
## Includes
|
|
* openjdk-17-jdk-headless
|
|
* BaseX 10.7
|
|
* node+npm v16
|
|
* maven 3.9.4
|
|
|
|
## Notes
|
|
### Using BaseX
|
|
|
|
The `basex/bin` folder is added to the path so the binaries `basex`, `basexclient` etc are available.
|
|
An admin password needs to be set on first use.
|
|
```
|
|
basex -cPASSWORD
|
|
...
|
|
```
|
|
To start server...
|
|
```
|
|
basexserver -S
|
|
```
|
|
|
|
### Using docker from the vscode container
|
|
|
|
The user running VScode (id=1000 by default) must be a member of the group `docker` on the host os. |