From 63e6c19afa56bccfa799ee06f92d2f35209dcb25 Mon Sep 17 00:00:00 2001 From: chyzwar Date: Sun, 20 Aug 2023 21:04:27 +0200 Subject: [PATCH] chore(): update docs --- .local/init.sh | 1 + Readme.md | 13 +------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.local/init.sh b/.local/init.sh index d1eb7f4c..b63009b1 100755 --- a/.local/init.sh +++ b/.local/init.sh @@ -3,6 +3,7 @@ if [ ! -f .env ]; then echo "DOCKER_USER=$(id -u)" >> .env echo "DOCKER_GROUP=$(id -g)" >> .env + echo "PROJECT_DOMAIN=project.localhost" >> .env fi cd ./packages/api || exit diff --git a/Readme.md b/Readme.md index 3522a8e3..e5e935ff 100644 --- a/Readme.md +++ b/Readme.md @@ -39,18 +39,7 @@ Start project yarn start ``` -You can now visit: http://localhost:3000 - -Setup local domains resolution(optional) -This is useful for CSP and reflect prod deployment better than running on localhost - -Update /etc/host - -``` -127.0.0.1 project.com -127.0.0.1 local.project.com -127.0.0.1 admin.project.com -``` +You can now visit: http://project.localhost Setup auth provider(optional)