Bachir Soussi Chiadmi 9644e66fbf automaticly create the basex db from sourcesPrep | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
Docker | %!s(int64=5) %!d(string=hai) anos | |
client @ 3fa56a54ca | %!s(int64=5) %!d(string=hai) anos | |
data @ 423de0caf0 | %!s(int64=5) %!d(string=hai) anos | |
synopsx @ 558dd832a2 | %!s(int64=5) %!d(string=hai) anos | |
webapp @ e6ca72b4a0 | %!s(int64=5) %!d(string=hai) anos | |
.env | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
.gitmodules | %!s(int64=5) %!d(string=hai) anos | |
LICENSE | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
docker-compose.yml | %!s(int64=5) %!d(string=hai) anos |
sudo pacman -S docker docker-compose docker-machine
this will clone this repos (main docker environement) and the edlp drupal 8 source code (without sites/default folder)
git clone --recursive -o figli https://figureslibres.io/gogs/bachir/docker-gdp.git
only before the first run (may take some time)
sudo docker-compose build
then each time you want to launch the app
sudo docker-compose up -d
{{/* 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 */}}
https://github.com/guidesDeParis/webapp/blob/master/install.md