Python Forum
Trouble deploying Django (project folder, wsgi.py and libapache2-mod-wsgi)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble deploying Django (project folder, wsgi.py and libapache2-mod-wsgi)
#2
Quote:Before I begin, I think the issue could be that my project folder on my local machine is named: first_project_attemp. But on my remote server, the project folder is named, cel2fah. I copied the contents locally to my remote host and now trying to iron out the issues.

With that piece of information, I believe you are correct.

If you have simply copied the project from your local machine to the remote server, but changed the name of the project I would suggest creating a new project instead. Look inside your settings.py and you might discover references to the old project name, search for things like WSGI_APPLICATION and ROOT_URLCONF
these would all need to be changed and even then there may be references in other files of your project to the old name.

you could using something like grep or the newer https://github.com/ggreer/the_silver_searcher
to search for occurrences, and then use an editor like vim to replace these.
Reply


Messages In This Thread
RE: Trouble deploying Django (project folder, wsgi.py and libapache2-mod-wsgi) - by knackwurstbagel - Mar-08-2018, 06:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  deploying python script on a server rickyrt 0 1,512 Aug-31-2021, 04:03 PM
Last Post: rickyrt
  Django project deployed to Heroku: Postgres security Drone4four 0 1,960 Mar-26-2021, 10:17 AM
Last Post: Drone4four
  creating an exe file for a python django project Sanjish 0 2,656 Dec-27-2020, 07:33 AM
Last Post: Sanjish
  category and subcategory into django project dhirendra007 0 2,037 Dec-26-2020, 10:33 AM
Last Post: dhirendra007
  cant access root environment folder from django folder using __init__.py Sanjish 0 1,946 Dec-25-2020, 05:56 AM
Last Post: Sanjish
  WSGI Multi processing. simbha 1 2,871 May-05-2020, 10:34 AM
Last Post: pyzyx3qwerty
  wsgi server ports chrisdb 3 3,362 Feb-26-2020, 04:24 PM
Last Post: snippsat
  Django project with a setup.py script. That do you think? axju 0 1,658 Oct-22-2019, 10:06 PM
Last Post: axju
  Django: How to automatically substitute a variable in the admin page at Django 1.11? m0ntecr1st0 3 3,406 Jun-30-2019, 12:21 AM
Last Post: scidam
  WSGI server vs Web Server chrisdb 24 10,736 May-29-2019, 02:21 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020