basex dockerfile create db, readme

This commit is contained in:
2019-07-18 19:58:42 +02:00
parent 237acc11e2
commit c5f1469cde
2 changed files with 22 additions and 2 deletions
+19 -1
View File
@@ -27,12 +27,30 @@ sudo docker-compose up -d
```
## DB
Only at first up, creat the basex database
{{/* Only at first up, creat the basex database
```
sudo docker exec -it gdp_basex_1 bash
basex
run db:create('gdp','/srv/basex/src/gdp.tei.xml',...)
``` */}}
connect http://localhost:8984/synopsx/create-project
create a 'gdp' project
connect to http://localhost:8984/synopsx/config
select 'gpd' and click on 'ok'
the api is ready, you can go to http://localhost:8984/gdp/home
{{/* ## Client
```
cd client
npm install
npm run dev
```
open http://localhost:8080 in your browser */}}
## Doc