How to make a website with Python and Django - BASICS (E01)

preview_player
Показать описание
Welcome to my full tutorial series about how to build a website! I asked our instagram followers what they wanted to see from our channel in the next month and the overwhelming response was "we want to see how to make a website using Django and Python". In this episode, we'll talk about how to create a virtualenv for our Python dependencies and bootstrap a Django app.

This tutorial will be several parts long. I'll go in-depth on how to create a Django server with Python, setup a database, create web pages/style them with css, and even deploy the application to the cloud.

We're going to use four different technologies in this tutorial:
1. Django - for our web server
2. Postgres - for our database
3. Docker - to package the application
4. Kubernetes - to manage deployment in the cloud

All of the code for this project will be available on our Patreon page:

I hope. you guys enjoy!
Рекомендации по теме
Комментарии
Автор

I usually watch videos on twice the speed, but this one is worth watching at normal speed

andreasschmitt
Автор

Awesome video! Looking forward to the next video, especially regarding the Kubernetes piece! Cheers from Idaho!

king
Автор

This video was great, cant wait to watch the REST. :D

cybersamurai
Автор

Nice, nice, nice! :-)
...look forward to the next...

CarloZappacosta
Автор

Hi, thanks for the vid. I am having a problem while opening my project in VS. Instead of '.python-version' I get '.python-version.swp' with information that 'The file is not displayed in the editor because it is either binary or uses an unsupported text encoding'. What should I do?

youtube_name
Автор

Why do you not have a SSL certificate on the Hacker Shack website?

freyastears
Автор

Nice video. I will still use PHP, But very interesting.

noobplayzz
Автор

Thanks for the tutorial. Im a bit confused. When I check my python version with "python -V', I get 2.7.1 but when I do "python3 -V", I get the up-to-date (3.9.1), how can I have my default settings as python 3.9.1?

I think this is why I get a "no command 'virtualenv' when I try to run one.

shakealhuggins
Автор

can anyone help me when i try to manually activate my python file it says: Failed to activate virtualenv.

Perhaps pyenv-virtualenv has not been loaded into your shell properly.
Please restart current shell and try again. (how do you check if it is not loaded in properly)

Azyee_
Автор

Had to rewind cause I was too busy fantasizing about creating a multimillion dollar website in my head.

BimmerWon
Автор

This is a great tutorial. Not sure how you get VS to recognize the django modules in the syntax checking. Is there specific VS extension that you are using for django definitions? The one I have installed does not map the modules to a source.

yvan
Автор

How do I delete virtualenvs created this way? I accidentally used the wrong version. I have been googling for literally 2 hours and cannot find an answer. I want to remove every virtualenv I created and start from scratch. please help

breeden
Автор

pls how can i download this video to my pc

okekeifeanyihenry
Автор

this is print("u da besttt")

safadiwan
Автор

more coding videos and streams PLEAZE!

rigrentals
Автор

sooo, pyenv virtualenvs doesn't work anymore, and I cannot find an equivalent of that command for pyenv, only for conda but it's not the same... Help, anyone?

lilikoimahalo
Автор

or i could use venv instead of homebrew?

kavyaparmar
Автор

16:58 @Hacker Shack I am getting this error, is there a way to fix this? 
File "manage.py", line 17
) from exc
^
SyntaxError: invalid syntax

francisbarrott
Автор

Would this website allow me to sell items?

AbdulKarim-mdrt
Автор

After creating the files in VsCode and going to terminal to run pip install -r requirements/dev.txt i get this error :
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements/dev.txt'

alexandrutosa