From 083144941afdcfee27f1a778d0c20437cb42837a Mon Sep 17 00:00:00 2001 From: JonathanHerrewijnen Date: Thu, 29 Dec 2022 23:36:16 +0100 Subject: [PATCH] Updated the readme a little bit --- Readme.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 621b53c..f120552 100644 --- a/Readme.md +++ b/Readme.md @@ -29,8 +29,22 @@ To run the backend server navigate to ``herreweb_backend/`` and run: > python3 manage.py runserver -And for the frontend, navigate to ``herreweb_frontend`` and run: +And for the frontend, navigate to ``herreweb_frontend``. Make sure you have npm and react-scripts installed, by running: + +> sudo apt-get install npm +> npm i react-scripts + +Then run: > npm start -The file servers are accessible on ports 8000 and 3000. +The file servers are accessible on ports 8000 and 3000 (localhost). + +Create a superuser for you account using: + +> python3 manage.py createsuperuser + +Note: if running into an error regarding auth_user, be sure to migrate your database using one of the two following commands: + +> python3 manage.py migrate +> python3 manage.py syncdbNo \ No newline at end of file