W
W
Wet_Dumplings2019-10-23 14:02:27
Django
Wet_Dumplings, 2019-10-23 14:02:27

How to run a project (django+html) from github?

Hey!
There is such a project
https://github.com/adithyabhatkajake/TextGraphWalker
I put the Django library in PyCharm and the manage.py file began to compile without errors, but all that is displayed in the console is

spoiler
Type 'manage.py help ' for help on a specific subcommand.
Available subcommands:
[auth]
changepassword
createsuperuser
[contenttypes]
remove_stale_contenttypes
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver
[sessions]
clearsessions
[staticfiles]
collectstatic
findstatic
runserver
Process finished with exit code 0

and nothing happens. Got into 'results' and found this screenshot
spoiler
https://github.com/adithyabhatkajake/TextGraphWalk...
I drive in localhost and localhost:8000 and nothing.
Actually a question and how such to start then?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir, 2019-10-23
@Casufi

https://docs.djangoproject.com/en/2.2/intro/tutorial01/
python manage.py runserver

S
Sergey Nizhny Novgorod, 2019-10-23
@Terras

It seems that some non-gut dumped part of his Django course and people with no programming experience and understanding of what Django is ran to launch projects on Djnago (already 5 questions in 2 weeks of this type)..
1) Open this video - https://www.youtube.com/watch?v=IZqBTPmxoew. We watch it, repeat everything after the author, understand what and how it works visually, and what is responsible for what.
2) Open the documentation and gradually expand the project.
The Django library...
The manage.py file is compiled (moreover, the python is an interpreted language, not a compiled one)...
You need to understand that Django is a custom, and not everything is so simple here.

A
Alexander Leyba, 2019-10-23
@Alex_shady

1. activate source myenv/bin/activate virtual environment
2. install dependencies pip install -r requirements.txt
3. run python manage.py makemigrations, python manage.py migrate
4. run local server python manage.py runserver

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question