Need help with Django one-click app from Digital Ocean

dbinott

New Member
#1
I am trying for the life of me to figure out where everything is supposed to be located. Also assuming there are 2 different ways to run a Django app, one being VENV the other WSGI Apps with LSAPI.

I am not using VENV.

I have this set up and it is currently giving me a 404. Before this config, it was redirecting to https://com.com
Code for app is cloned from GITHub.

Code:
lsws/poisontour/
├── conf
├── html
├── logs
│   └── access.log
└── poison_tour
    ├── manage.py
    ├── pages
    │   ├── __init__.py
    │   ├── admin.py
    │   ├── apps.py
    │   ├── fixtures
    │   │   └── poisontour.json
    │   ├── forms.py
    │   ├── migrations
    │   │   ├── 0001_initial.py
    │   │   ├── 0001_squashed_0018_auto_20190402_1708.py
    │   │   ├── __init__.py
    │   ├── models.py
    │   ├── templatetags
    │   │   ├── __init__.py
    │   │   └── debug.py
    │   ├── tests.py
    │   ├── urls.py
    │   └── views.py
    ├── poison_tour
    │   ├── __init__.py
    │   ├── admin.py
    │   ├── apps.py
    │   ├── models.py
    │   ├── settings
    │   │   ├── __init__.py
    │   │   ├── base.py
    │   │   ├── dev.py
    │   │   ├── env.py
    │   │   └── prod.py
    │   ├── tests.py
    │   ├── urls.py
    │   ├── views.py
    │   └── wsgi.py
    ├── public
    │   └── static
    │       ├── admin
    ├── requirements.txt
    ├── static
    │   └── poison_icon.jpg
    ├── stderr.log
    ├── templates
    │   ├── about.html
    │   ├── account
    │   └── vote_results.html
    └── users
        ├── __init__.py
        ├── admin.py
        ├── apps.py
        ├── migrations
        │   ├── 0001_initial.py
        │   ├── __init__.py
        ├── models.py
        ├── tests.py
        └── views.py
1554613899155.png

1554613907282.png

1554613915876.png
 

Cold-Egg

Administrator
#3
Hi @dbinott,

Sorry for the late reply.
If this is a new virtual Host, have you add to the listener yet? Generally 404 issue happens due to no virtual host mapping to the listener.

Best
 
Top