thedocks/code-serverx/readme.md

33 lines
624 B
Markdown
Raw Normal View History

2022-02-08 17:38:00 +00:00
# A BaseX development environment for vscode
2022-03-02 21:39:09 +00:00
## docker build
```
2023-08-07 15:37:48 +01:00
docker build --tag=vscode4.16-basex10.7 .
2022-03-02 21:39:09 +00:00
```
## compose
```
docker-compose up
```
2022-02-08 17:38:00 +00:00
## Includes
2023-08-07 15:37:48 +01:00
* openjdk-17-jdk-headless
* BaseX 10.7
2022-08-08 11:59:09 +01:00
* node+npm v16
2023-08-07 18:19:42 +01:00
* maven 3.9.4
2022-03-02 21:20:52 +00:00
2023-08-08 11:12:51 +01:00
## Notes
### Using BaseX
2022-03-02 21:20:52 +00:00
2023-08-08 11:12:51 +01:00
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.