|
|
@ -21,18 +21,18 @@ Run the following command to bootstrap a **phCD** instance. As this service does
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
# Clone this repo
|
|
|
|
# Clone this repo
|
|
|
|
$ git clone https://git.phc.dm.unipi.it/phc/phcd
|
|
|
|
git clone https://git.phc.dm.unipi.it/phc/phcd
|
|
|
|
|
|
|
|
|
|
|
|
# Create config files and data folder
|
|
|
|
# Create config files and data folder
|
|
|
|
$ mkdir data.local
|
|
|
|
mkdir data.local
|
|
|
|
$ cp .env.sample .env
|
|
|
|
cp .env.sample .env
|
|
|
|
$ echo 'deploys: []' > config.yaml
|
|
|
|
echo 'deploys: []' > config.yaml
|
|
|
|
|
|
|
|
|
|
|
|
# Built docker image
|
|
|
|
# Built docker image
|
|
|
|
$ docker built . -t phcd
|
|
|
|
docker built . -t phcd
|
|
|
|
|
|
|
|
|
|
|
|
# Start container
|
|
|
|
# Start container
|
|
|
|
$ docker run -d \
|
|
|
|
docker run -d \
|
|
|
|
--name phcd \
|
|
|
|
--name phcd \
|
|
|
|
--restart unless-stopped \
|
|
|
|
--restart unless-stopped \
|
|
|
|
-p 127.0.0.1:8080:4321 \
|
|
|
|
-p 127.0.0.1:8080:4321 \
|
|
|
|