python -m pip install django
Install django - to install specific for this project usepython -m pip install django==3.0
.- To pin the dependencies
python -m pip freeze > requirements.txt
i.e. to write the names and versions of all external python dependencies. - To install all dependencies in the requirements.txt in one command
python -m pip install -r requirements.txt
. - To start the project, move to your desired location and run
django-admin startproject BLOG
. - To start an app use the command
python manage.py startapp <appname>
. - The startapp command is used while in the root project folder i.e. blog-legendary-eureka/ where
manage.py
is found. - To open the server, make sure you are in the root folder where
manage.py
is found and runpython manage.py runserver
.
-
Notifications
You must be signed in to change notification settings - Fork 1
itsmraga-hub/blog-legendary-eureka
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A blog website made with Django.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published