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)