Is it Possible to run django locally without internet connection

323 views
Skip to first unread message

Idris Adegbite

unread,
May 7, 2019, 11:46:58 AM5/7/19
to Django users
Good day guys, Please can i run django on laptop without internet connection.
 if yes, Please kindly help me out with the procedures.

I am having issues connecting my  phone and laptop and i dont want that to slow down my learning.
Any help would be appreciated

Rob Gmail

unread,
May 7, 2019, 11:49:19 AM5/7/19
to django...@googlegroups.com
Yes you can.  I do it for an IOT device that we have using Django/python, many times it does not have an Internet connection but runs fine. 

Rob 
Sent from my mobile device, please excuse the typos. 
--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/809870ae-92a1-4881-96ae-838d9342ee0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shashank Singh

unread,
May 7, 2019, 10:20:12 PM5/7/19
to django...@googlegroups.com
Run server with command ./manage.py runserver 0:8000. 0 here tells that any one on the same network can access the project's urls like this. Suppose your laptop's ip is 10.0.0.156 so from your phone go to 10.0.0.156:8000/admin and you are connected to your django projects. You must be on the same network/lan. It may or may not have a working internet connection.

Julio Cojom

unread,
May 7, 2019, 11:06:00 PM5/7/19
to django...@googlegroups.com
I strongly recommend install some web server like mod_wsgi-express, guinicorn, openlitespeed to serve files, even if its local.

Regards.
Julio C.



--

Idris Adegbite

unread,
May 8, 2019, 3:50:30 AM5/8/19
to django...@googlegroups.com
Alright, Thanks alot Mr Shashank, Really appreciate, will try it out now

Reply all
Reply to author
Forward
0 new messages