Pipenv and Django

lakshanwd

Lakshan Dissanayake

Posted on April 26, 2022

Pipenv and Django

How to setup pipenv for django

pipenv is a tool that allows you to create virtual environments and manage python dependencies effectively. If you need more information regarding pipenv, Read this

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. Ridiculously fast.

#setup
# create solution directory
$ mkdir my-first-django-project 
$ cd my-first-django-project
# install pipenv
$ pip install pipenv
# installs django framework
$ pipenv install django
# create django project
$ pipenv run django-admin startproject project .
# initialize django app
$ pipenv run django-admin startapp app
# fire-up python web browser
$ pipenv run python manage.py runserver
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
lakshanwd
Lakshan Dissanayake

Posted on April 26, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Pipenv and Django
django Pipenv and Django

April 26, 2022