A Real estate site with Django and javascript
To get started clone the repository into an existing directory in your computer.
git clone https://github.com/Nepul321/Real-estate-Django.git .
NOTES :
- On mac
python
command should be replaced bypython3
andpip
should be replaced bypip3
source Scripts/activate
command is a bash command on windows powershell it is./Scripts/ activate
and on cmd it isScripts\activate
- On mac and linux
source Scripts/activate
should besource bin/activate
Then create a virtual environment, activate it and install requirements.
python -m venv .
source Scripts/activate
pip install -r requirements.txt
Next go to the src directory and create a dotenv file and configure the following variables,
SECRET_KEY=<your-secret-key>
EMAIL=<an-email>
EMAIL_PASSWORD=<theemailpassword>
Then migrate the databases and runserver.
python manage.py migrate
python manage.py runserver
Go to http://localhost:8000/ or http://127.0.0.1:8000/ to see the project.