Koda, ki poganja DJND domek.
-
Main site:
- Best way is to use docker compose and run
docker compose up
(seecompose.yaml
) djnd
is the main django project foldercss-compile
is the main folder for compiling css with tailwind
- Best way is to use docker compose and run
-
Website redirects:
website-redirects
is a seperate project that handles custom redirects from other domains. Initially used foragrument.danesjenovdan.si
, but can be extended for anything else via nginx config.
-
Deployment is setup to run automatically when pushed:
- Production: to the
v3-k8s
branch - Staging: to the
v3-k8s-staging
branch
- Production: to the
-
Always merge (PRs are created automatically on push to
v3-dev
):- from
v3-dev
tov3-k8s-staging
- from
v3-dev
tov3-k8s
- from
-
DO NOT merge from
v3-k8s-staging
tov3-k8s
or any other way around
Old versions of the site are available in git under tags
- v1 (php, retired in 2019)
- v2 (nuxt, retired in 2024)
- v3 (current)