Skip to content

Commit

Permalink
chore(): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chyzwar committed Aug 20, 2023
1 parent 8bc1c85 commit 63e6c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 1 addition & 0 deletions .local/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 1 addition & 12 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 63e6c19

Please sign in to comment.