First Take all the Deployment security checklist given here and then deploy, python3 manage.py runserver starts a *development *server *not* a *production* server you have to configure that on your own...
On Wednesday, 18 August 2021 at 20:28:09 UTC+5:30 alex...@gmail.com wrote: > Hello, > > There are a few ways to deploy a Django site to a production server. Tools > like Ansible and Docker help a lot. > > One way to transfer files is via git push and pull through a repository. > There are other ways as well. > > Once the files are on the server, the server needs all the services set up > and running for database, static files, http server, caching, environment > variables etc. There can be a lot more to this. > > I had the same questions as yours about a year ago, and can empathize.. > I've since learned a couple different reliable deployment methods using > Dokker/dokku and Ansible. Happy to help more if you'd like, hit me up here > or directly. > > Alex B > > > > On Wed, Aug 18, 2021, 7:02 AM <jt.vc...@gmail.com> wrote: > >> Hi >> >> I am now starting to work in Django. >> >> I built a development environment on my laptop. I experimented there, >> things work. >> >> I have a web server on the net. With multiple hosted domains. >> >> >> >> I would put my attempt on one. But things don't work. >> >> - python is installed, updated >> >> - I installed django >> >> - "python3 manage.py runserver" seems to work, but nothing comes out >> >> >> >> Questions: >> >> - how do I transfer the developed file there? >> >> - what do I need to do to run as a web server? >> >> >> >> Thanks for the help >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/001e01d7940e%24095cd210%241c167630%24%40gmail.com >> >> <https://groups.google.com/d/msgid/django-users/001e01d7940e%24095cd210%241c167630%24%40gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0d31f37b-000f-45db-8a63-0d024a1b3fa0n%40googlegroups.com.