Last active
February 8, 2022 16:40
-
-
Save cloudybdone/87206ef80bbff9697e986e658203fcc3 to your computer and use it in GitHub Desktop.
Django Installation on Ubutnu 20.04 LTS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you need any help related to Django Python Framework installation service on Ubuntu contact with me: | |
| Telegram: https://t.me/Cloudybdone | |
| WhatsApp: https://wa.link/3j794g | |
| Skype: https://join.skype.com/invite/vLFaKHxboQrc | |
| Email: cloudybdone@gmail.com | |
| Linkedin: https://www.linkedin.com/in/cloudybdone/ | |
| Facebook: https://www.facebook.com/cloudybdone/ | |
| About Me: https://about.me/cloudybdone | |
| YouTube PlayList: | |
| https://www.youtube.com/watch?v=xvuJs58WBoA&list=PLiveDaEySXe9OxRw5QVmtJJeKjUXexrpS | |
| # !/bin/sh | |
| # Install Packages | |
| sudo apt update | |
| python3 -V | |
| sudo apt install python3-django | |
| django-admin --version | |
| #Install Virtual Environment | |
| sudo apt update | |
| python3 -V | |
| sudo apt install python3-pip | |
| mkdir ~/newproject | |
| cd ~/newproject | |
| pip install django | |
| django-admin --version | |
| deactivate | |
| cd ~/newproject | |
| # Development Version Install with Git | |
| sudo apt update | |
| python3 -V | |
| sudo apt install python3-pip | |
| sudo apt install python3-venv | |
| git clone git://github.com/django/django ~/django-dev | |
| cd ~/django-dev | |
| source my_env/bin/activate | |
| django-admin --version | |
| # Creating a Sample Project | |
| mkdir ~/django-test | |
| cd ~/django-test | |
| python3.6 -m venv my_env | |
| nano ~/newproject/settings.py | |
| ALLOWED_HOSTS ='server_ip_address', 'localhost', '127.0.0.1' | |
| # Testing the Development Server | |
| python manage.py runserver localhost:8000 | |
| http://your_server_ip:8000/admin/ | |
| #Django #Django_Install #Django_Setup |
cloudybdone
commented
Feb 1, 2022
Author

Author
Author
Author
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



