densitydesign / placplac

5 stars 1 forks source link

Add instruction for updating the application #108

Closed iosonosempreio closed 2 years ago

iosonosempreio commented 2 years ago

What steps to follow for updating the application? For instance after pulling changes from the Github repository? How should we handle docker images and containers?

gianpieropa commented 2 years ago

You have to run the same command of the installation and docker will do the rest

sudo docker-compose up --build --detach
iosonosempreio commented 2 years ago

No need to delete/deactivate images or containers?

iosonosempreio commented 2 years ago

Running the command, the installation fails with this errors:

ERROR: for cms Cannot create container for service nginx: Conflict. The container name "/cms" is already in use by container "e11074a3bec9ed03f94db715ec6765daaeb7c4ab8bf86649c7ee60a2f3ec1a88". You have to remove (or rename) that container to be able to reuse that name.

ERROR: for nginx Cannot create container for service nginx: Conflict. The container name "/cms" is already in use by container "e11074a3bec9ed03f94db715ec6765daaeb7c4ab8bf86649c7ee60a2f3ec1a88". You have to remove (or rename) that container to be able to reuse that name.

gianpieropa commented 2 years ago

Are you running the command in the same folder where you ran the command the first time?

angelesbri1s commented 2 years ago

Aggiungere: elenco requisiti minimi e ottimale del server per istallazione di placplac