How to setup:
-
Install python python 3.11.4
-
Install nodejs v18.17.1
-
Install git
-
Open cmd
-
Go to a folder where you want to put your working directory, example: cd:/Documents/Projects/
-
Inside your working directory, clone the repo by executing command: git clone https://github.com/cossettealexis/real_estate_portal.git
-
Open the project in vscode
-
In vscode, open two terminal
-
In the first terminal, here we would run the backend server.
-
In the second terminal, we would run the frontend/client server.
-
In terminal 1, install virtual environment by executing command: pip install virtualenv
-
Create the virtual environment: python -m venv env
-
Activate the virtual environment source env/bin/activate
-
Run the backend server cd server/real_estate_portal python3 manage.py runserver 0.0.0.0:8001
-
In terminal 2, activate the virtual environment source env/bin/activate
-
Run client server npm start
nodejs v18.17.1 npm i axios react-router-dom, react-bootstrap, bootstrap npm install --save @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/react-fontawesome