thecaffeinedev/Real-Estate-Django-Web-App
소개
부동산 Django 웹 앱
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalReal Estate Django Web App
A real estate listings website built with python django bootstrap.
A simple, reponsive website. Built with:
- Python 🐍
- Django 🎸
- Bootstrap 4 🌈
- Vanilla JS - ES6
- JQuery
If you are new to Django, checkout the Django 2.x Cheat Sheet
If you want to deploy this Web App In Ubuntu 18.04 Server, Please Follow this Guide
How to run this project (Ubuntu 18.04)
- Clone the project
git clone https://github.com/TheCaffeineDev/Real-Estate-Django-Web-App.git
Make sure you are in Real-Estate-Django-Web-App folder
Install all dependencies
pip install -r requirements.txtInstall PostgreSQL in your Ubuntu 18.04
Enable PostgreSQL Apt Repository
sudo apt-get install wget ca-certificates wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - # Now add the repository to your system. sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'Install PostgreSQL on Ubuntu
sudo apt-get update sudo apt-get install postgresql postgresql-contribConnect to PostgreSQL
sudo su - postgres psqlNow you are logged in to PostgreSQL database server. To check login info use following command from the database command prompt.
postgres-# \conninfoCreate a database
CREATE DATABASE real_estate;Create user
CREATE USER pks WITH PASSWORD 'abc123!';
Run Migrations
python manage.py makemigrations
python manage.py migrate
- Run Server
python manage.py runserver
And you are good to go.
To run with SQLite only
Go inside the 'realestate' folder and open 'settings.py' file and replace
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'real_estate' ,
'USER': 'pks',
'PASSWORD': 'abc123!',
'HOST':'localhost',
}
}
To:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
This is the default configuration of Django database.
Backend
For Database I have used Postgres Database Name: real_estate
Note: Please change those gmail credentials from real_estate folder you will get settings.py inside that file you will see username and password mentioned as place your Username and Password. Also do that same thing from Contacts folder views.py you will see YourEmail mentioned on line number 33.
Screenshots
- HOME
- Listings
- Registration
- Admin Panel - 1
- Admin Panel - 2
- About
Acknowledgments
Many thanks to @bradtraversy for his awesome course.
References
관련 프로젝트 살펴보기
불러오는 중…