From 7166c66a5bebbe9d74d8349e983c579e599226fd Mon Sep 17 00:00:00 2001 From: Nicolai Rosdahl Tellefsen Date: Sun, 22 Sep 2024 20:59:50 +0200 Subject: [PATCH] fix: use default port and paths --- DEVELOPMENT.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index b20e0f0..52022fa 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -18,7 +18,7 @@ For basic installation of backend repo see [backend repo](https://github.com/gat Same procedure as above, but with a few extra steps: 1. Make sure local backend is running and available on a local port 2. Create a `.env.development.local` file in the root of the project (not `.env.local` due to how Astro prioritizes env files) -3. Add the following line to the file: `API_URL=http://localhost:3000` (make sure the port matches the port of your local backend) +3. Add the following line to the file: `API_URL=http://localhost:8000` (make sure the port matches the port of your local backend) ## Common issues @@ -30,6 +30,7 @@ Same procedure as above, but with a few extra steps: ### No content is loading when using local backend -* Make sure the backend is running and available on the correct port (try opening `API_URL` in browser) +* Make sure the backend is running and available on the correct port (try opening `API_URL` + `/api/v2/news/` in browser) * If backend is running in docker, make sure the port is exposed in the docker-compose file * Check that backend data has been properly seeded. On first startup it might be in a broken state until initiall setup steps have been done. See backend repo for details +