I have a Django project. we cannot go online, is there any way to deploy the project in a client computer just for the client to use there on his pc? no need to go online! user needs to type an address in browser to get the starting page of some other easy path! is it possible? or is there any other way to solve this problem?
CodePudding user response:
To temporarily run the code to demonstrate the project to the client locally on their computer you should utilize pipenv to install the packages on their computer. You can then run the Django server using python manage.py runserver
as normal without effecting their computer. Be sure to replace python
with the location of the virtual python environment.
If this is something they will be using locally long-term, you can always create a script which launches the Django server on boot-up and create a shortcut to the site on their desktop.