SOLVED
Hi, I have found the solution, I took a look at this tutorial and decided to follow the basic dossier set up of;
heating/
env/
app/
__init__.py
routes.py
heating.py
with __init__.py
I can now start coding the rest of my coding
heating.py is now
Hi, I have found the solution, I took a look at this tutorial and decided to follow the basic dossier set up of;
heating/
env/
app/
__init__.py
routes.py
heating.py
with __init__.py
from flask import Flask app = Flask(__name__) from app import routesand routes.py
from app import app @app.route('/') @app.route('/index') def index(): return "Hello, World!"and heating.py
from app import appwith no change to my origional nginx.conf, _uwsgi.ini and emperor.uwsgi.service, It all works, automatic restart on reboot.
I can now start coding the rest of my coding
heating.py is now
app = heatingregards Paul