ELTE-Clean / Clean-Administration-Platform

2 stars 1 forks source link

How to Deploy Correctly? #11

Open Mohido opened 2 years ago

Mohido commented 2 years ago

How to build and deplyo the project

Mohido commented 2 years ago

Running the script: ./platform_build_deploy.sh will build all the images and deploy them. It depends really on the argument you pass to it. Calling it without argument will show you a "help" output of what you can call it with. You can mimic the shell process on windows but it will be painful for me to explain since I don't know much about using Windows Docker or Docker-compose. However if you are on a WSL, running the script will be enough to deploy: Keycloak, Database (CleanDB), Database Manager (cpgadmin).

For the exact steps of deployment, please read the ./platformbuild.... script. The "echo"s will help you understand it really quickly.

Mohido commented 2 years ago

Note: Make sure to close the pgadmin4 webpage before re-deploying. It has a token problem if the old page is still open and a new deployment has started.