Golf - Juniortävlingar

Dokumentationsportal

Deploymentguide

Miljöer

Miljö Branch Sökväg Container Port
Test develop /opt/golf-juniortavlingar/test/app golf-jr-test 11080
Produktion main /opt/golf-juniortavlingar/prod/app golf-jr-prod 11081

Deploy till test

cd /opt/golf-juniortavlingar/test/app
git status
sudo docker compose up -d --build
sleep 3
curl -I http://127.0.0.1:11080

Deploy till produktion

cd /opt/golf-juniortavlingar/prod/app
git status
sudo docker compose up -d --build
sleep 3
curl -I http://127.0.0.1:11081

Installation av releasepaket

Releasepaket placeras i:

/home/protectadmin

Exempel:

cd /home/protectadmin
unzip sgf-release-v20.31.0-foundation.zip
cd sgf-release-v20.31.0-foundation
./install.sh test

Efter installation

cd /opt/golf-juniortavlingar/test/app
git status
git add docs docs_feature.py templates web_app.py
git commit -m "Install v20.31.0 foundation documentation release"
sudo docker compose up -d --build
curl -I http://127.0.0.1:11080/docs