{"id":15750391,"url":"https://github.com/beebus/hello-world-django","last_synced_at":"2026-04-13T02:05:32.426Z","repository":{"id":79609658,"uuid":"335398601","full_name":"beebus/hello-world-django","owner":"beebus","description":"\"Hello World\" Django application using Windows 10 command line and the GitHub.com website interface.","archived":false,"fork":false,"pushed_at":"2021-11-11T15:17:20.000Z","size":310,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T11:55:54.799Z","etag":null,"topics":["django","hello-world","helloworld","python","python-3","windows","windows-10","windows10"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beebus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-02T19:20:12.000Z","updated_at":"2021-11-11T15:19:56.000Z","dependencies_parsed_at":"2023-05-13T08:00:13.580Z","dependency_job_id":null,"html_url":"https://github.com/beebus/hello-world-django","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beebus%2Fhello-world-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beebus%2Fhello-world-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beebus%2Fhello-world-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beebus%2Fhello-world-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beebus","download_url":"https://codeload.github.com/beebus/hello-world-django/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429493,"owners_count":20775808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","hello-world","helloworld","python","python-3","windows","windows-10","windows10"],"created_at":"2024-10-04T06:40:33.174Z","updated_at":"2026-04-13T02:05:32.384Z","avatar_url":"https://github.com/beebus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-world-django\nI used a Windows 10 environment command line and GitHub.com to create a \"Hello World\" Django application using the website URLs listed below.\n\nhttps://djangoforbeginners.com/hello-world/\u003cbr\u003e\nhttps://docs.python.org/3/library/venv.html\u003cbr\u003e\nhttps://packaging.python.org/guides/installing-using-pip-and-virtual-environments/\n\nIn the Cortana search box, type in “cmd” then click “Run as administrator”.\n\nNavigate to your project folder by using:\u003cbr\u003e\nC:\\\u003e cd (folder name)\u003cbr\u003e\nC:\\\u003e dir/w (to list the directory contents… similar to ls in Mac/Linux terminal.\u003cbr\u003eThe /w switch causes the contents to be listed in several columns, wider, rather than in one long list.)\n\nWindows:\u003cbr\u003e\n1.\tNavigate to project folder.\u003cbr\u003e\n2.\tC:\\\u003e virtualenv venv\t(it seems like this command only needs to be done once per command prompt session)\u003cbr\u003e\nIf this command doesn’t work, you probably need to install virtualenv by running the following command:\u003cbr\u003e\nC:\\\u003e py -m pip install –user virtualenv\n\nIf “virtualenv venv” continues to not work, try this one:\n\nC:\\\u003e py -m venv env\n\n3.\tC:\\\u003e venv\\scripts\\activate\t(same for this)\n\nIf you used “py -m venv env” in the previous step, use this command instead:\n\nC:\\\u003e .\\env\\Scripts\\activate\n\nYou should see something like this:\n\n \n\nI went ahead and added a .gitignore file to my project directory that contained the following:\n\n.DS_Store\u003cbr\u003e\nnode_modules\u003cbr\u003e\n.tmp\u003cbr\u003e\nnpm-debug.log\u003cbr\u003e\nwisdompets/db.sqlite3\u003cbr\u003e\n__pycache__/\u003cbr\u003e\n*.py[cod]\n\nHere is what I have so far in my project folder:\n\n \nThe env folder that you see what automatically created by the command “py -m venv env”.\u003cbr\u003e\nThen the command “.\\env\\Scripts\\activate” told it to use that folder.\n\nNow, keep in mind that we will not be committing this folder to GitHub because of:\n\n \nwhich it says on the website, https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/\n\nso we will add this folder to the .gitignore file:\n\nI think we just add a new line “env” or “env/”\n\n.DS_Store\u003cbr\u003e\nnode_modules\u003cbr\u003e\n.tmp\u003cbr\u003e\nnpm-debug.log\u003cbr\u003e\nwisdompets/db.sqlite3\u003cbr\u003e\n__pycache__/\u003cbr\u003e\n*.py[cod]\u003cbr\u003e\nenv\n\nBack in the cmd window, in the virtual environment, install Django using pip:\n\nC:\\\u003e pip install django~=3.1.0\n\n \n\nC:\\\u003e cd env\\scripts\u003cbr\u003e\nC:\\\u003e python.exe -m pip install –upgrade pip\n\n \n\nC:\\\u003e python.exe django-admin.py startproject config D:\\LinkedIn_Learning\\Python\\hello_world_django\u003cbr\u003e\nC:\\\u003e cd ..\u003cbr\u003e\nC:\\\u003e cd ..\u003cbr\u003e\nC:\\\u003e dir/w\n\n \n\nSo it looks like when I initially tried to run “django-admin startproject config .” it was trying to use a different python.exe instead of the virtual environment’s python.exe.\u003cbr\u003e\nI’ll have to look into how this is corrected later.\u003cbr\u003e\nI bet this is easier on a Mac or Linux in terminal.\n\nC:\\\u003e python manage.py runserver\n\n \n\nThen go to http://127.0.0.1:8000/ in the browser.\n\n\n \n\nCTRL-Pause/Break causes the server to stop, and returns you to a prompt in the cmd window.\n\n(env) C:\\\u003e git –version\u003cbr\u003e\nIf this is not recognized, then you’ll probably need to go to https://git-scm.com/download/win to download Git for Windows.\n\nAfter installing, you’ll need to close the cmd window and reopen it (in admin mode).\u003cbr\u003e\nNavigate again to your project folder.\u003cbr\u003e\nActivate the virtual environment:\u003cbr\u003e\nC:\\\u003e .\\env\\Scripts\\activate\u003cbr\u003e\nC:\\\u003e git –version\n\n \n\nC:\\\u003e git config –global user.name “name”\u003cbr\u003e\nC:\\\u003e git config –global user.email “email address”\u003cbr\u003e\nC:\\\u003e git init\n\nGo to GitHub.com and create an empty repo. I’m calling mine “hello-world-django”.\n\nC:\\\u003e git add .\u003cbr\u003e\nC:\\\u003e git commit -m “first commit”\u003cbr\u003e\nC:\\\u003e git branch -M master\u003cbr\u003e\nC:\\\u003e git remote add origin https://github.com/beebus/hello-world-django.git\u003cbr\u003e\nC:\\\u003e git push -u origin master\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeebus%2Fhello-world-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeebus%2Fhello-world-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeebus%2Fhello-world-django/lists"}