From 549078cefa1b12e60344ba4f9a1463482b6a81c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20K=C3=A4hk=C3=B6nen?= <49764796+kristianka@users.noreply.github.com> Date: Tue, 18 Jun 2024 19:48:42 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f77330..9291e5f 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Full Stack application that let's you store box dimensions. Database hosted with MSSQL_SA_PASSWORD= PORT=3000 FRONTEND_URL=http://localhost - DATABASE_URL="sqlserver://database;database=database;user=sa;password=;TrustServerCertificate=true" + DATABASE_URL=sqlserver://database;database=database;user=sa;password=;TrustServerCertificate=true ``` - Change the `server_name` in `nginx.conf` to your machine's IP to allow connections from other devices in the network. @@ -61,7 +61,7 @@ Full Stack application that let's you store box dimensions. Database hosted with ### Development - Create two `.env` files in both frontend and backend. -- Put the same values as in production but to `.env`, not `.docker.env`. You need to add ports to the `FRONTEND_URL` and `VITE_BACKEND_URL`. If you are using the default ports, they are `VITE_BACKEND_URL=http://localhost:3000` and `FRONTEND_URL=http://localhost:5173`. +- Put the same values as in production but to `.env`, not `.docker.env`. You need to add ports to the `FRONTEND_URL` and `VITE_BACKEND_URL`. If you are using the default ports, they are `VITE_BACKEND_URL=http://localhost:3000` and `FRONTEND_URL=http://localhost:5173`. Database url might need "-marks around the url on Windows! #### Running the frontend