First-app-in-Django 📓
- In this repo I developed basic blog website in Django and perform crud operations.
How to run the project? 🤔
1). Run all command manually
- Clone github repository in your local system
git clone https://github.com/yogeshnile/First-app-in-Django.git
- Move in First-app-in-Django repository
cd First-app-in-Django
- Create new virtual python environment
python3 -m venv venv
- Activate virtual python environment
source venv/bin/activate
- Install all the libraries mentioned in requirements.txt using
pip install -r requirements.txt
- Run Django project
python manage.py runserver
- Go to your browser and type http://127.0.0.1:8000/ in the address bar.
- Hurray! That's it.
2). Run Shell Script
- Clone github repository in your local system
git clone https://github.com/yogeshnile/unix.git
- Give execute permission to First-app-in-Django.sh file via
chmod +x First-app-in-Django.sh
- Run First-app-in-Django.sh file using
./First-app-in-Django.sh
- Go to your browser and type http://127.0.0.1:8000/ in the address bar.
- Finished...
Technology used in Project ♨️
Directory Tree 🌵
Show Tree
.
├── blog
│ ├── admin.py
│ ├── apps.py
│ ├── __init__.py
│ ├── migrations
│ │ ├── 0001_initial.py
│ │ ├── 0002_post_slug.py
│ │ ├── 0003_auto_20200919_1144.py
│ │ ├── __init__.py
│ │ └── __pycache__
│ │ ├── 0001_initial.cpython-36.pyc
│ │ ├── 0002_post_slug.cpython-36.pyc
│ │ ├── 0003_auto_20200919_1144.cpython-36.pyc
│ │ └── __init__.cpython-36.pyc
│ ├── models.py
│ ├── __pycache__
│ │ ├── admin.cpython-36.pyc
│ │ ├── apps.cpython-36.pyc
│ │ ├── __init__.cpython-36.pyc
│ │ ├── models.cpython-36.pyc
│ │ ├── urls.cpython-36.pyc
│ │ └── views.cpython-36.pyc
│ ├── templatetags
│ │ ├── extras.py
│ │ ├── __init__.py
│ │ └── __pycache__
│ │ ├── extras.cpython-36.pyc
│ │ └── __init__.cpython-36.pyc
│ ├── tests.py
│ ├── urls.py
│ └── views.py
├── db.sqlite3
├── First-app-in-Django.sh
├── home
│ ├── admin.py
│ ├── apps.py
│ ├── __init__.py
│ ├── migrations
│ │ ├── 0001_initial.py
│ │ ├── 0002_contact_timestamp.py
│ │ ├── __init__.py
│ │ └── __pycache__
│ │ ├── 0001_initial.cpython-36.pyc
│ │ ├── 0002_contact_timestamp.cpython-36.pyc
│ │ └── __init__.cpython-36.pyc
│ ├── models.py
│ ├── __pycache__
│ │ ├── admin.cpython-36.pyc
│ │ ├── apps.cpython-36.pyc
│ │ ├── __init__.cpython-36.pyc
│ │ ├── models.cpython-36.pyc
│ │ ├── urls.cpython-36.pyc
│ │ └── views.cpython-36.pyc
│ ├── tests.py
│ ├── urls.py
│ └── views.py
├── iCoder
│ ├── asgi.py
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ ├── settings.cpython-36.pyc
│ │ ├── urls.cpython-36.pyc
│ │ └── wsgi.cpython-36.pyc
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── Images
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ └── 4.png
├── LICENSE
├── manage.py
├── README.md
├── requirements.txt
├── static
│ └── favicon.png
└── templates
├── 404.html
├── base.html
├── blog
│ ├── bloghome.html
│ └── blogpost.html
└── home
├── about.html
├── contact.html
├── home.html
└── search.html
17 directories, 72 files
ScreenShot 📸
Bug / Feature Request 👨💻
If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.
If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.
Connect with me! 🌐
Known on internet as Yogesh Nile