Welcome to the CSIT4th repository! Follow the instructions below to set up and run the project on your local machine.
This project is developed to familiarize CSIT 4th Semester students with Django web development.
- College: Chitwan College of Technology
- Faculty: CSIT
- Batch: 2081
Make sure the following tools are installed on your system:
- Python (Version 3.8 or higher) → Download Python
- Git → Download Git
- POSTGRES → Download POSTGRES
- Node.js (Version 14 or higher) → Download Node.js
Verify installations:
python --version
git --version
node --version
npm --versionFor Windows, Mac & Linux:
git clone https://github.com/coffee-and-debugging/CSIT4th.git
cd CSIT4thFor Windows:
python -m venv venv
cd venv/Scripts
activate.bat
cd ../../blogFor Mac/Linux:
python3 -m venv venv
source venv/bin/activate
cd blogInstall the required Python packages:
pip install -r requirements.txtNavigate to the project directory (which contains manage.py) and install the TailwindCSS dependencies:
npm installEnsure that Postgres Server is running. For this project go to 'Servers/Databases' & create a database called "blog".
Run database migrations:
python manage.py makemigrations
python manage.py migrateStart the Django Development Server From Project Directory (which contains manage.py):
python manage.py runserverStart the Node Server for TailwindCSS in Another Terminal From Project Directory (which contains manage.py)
npm startBoth commands should be executed from the project directory.
Open your browser and visit: http://127.0.0.1:8000/
- Instructor Name: UNIQUE ADHIKARI
- Email: contactuniqueadhikari@gmail.com