Closed davidianstyle closed 2 months ago
Unbreaks incorrect overwriting of environment by skipping copy of .env.local if .env or .env.local already exist.
.env.local
.env
pre-commit
pre-commit install
cd frontend
cp .env.dist .env
NEXT_PUBLIC_BACKEND_URL
localhost
cd ../docker
docker compose -f docker-compose.prod.yml -f docker-compose.yml up
Description
Unbreaks incorrect overwriting of environment by skipping copy of
.env.local
if.env
or.env.local
already exist.Checklist
pre-commit
and installed the hooks withpre-commit install
before creating any commits.cd frontend
cp .env.dist .env
NEXT_PUBLIC_BACKEND_URL
to anything other thanlocalhost
cd ../docker
docker compose -f docker-compose.prod.yml -f docker-compose.yml up
NEXT_PUBLIC_BACKEND_URL
as opposed tolocalhost