DEV Community

Discussion on: Flask Deploy with Apache on CentOS - Minimal Setup

Collapse
 
abbddos profile image
Abdul Rahman Sabbagh

Hi,
It's an app about running warehouses and simple accounting and invoices. It has a lot of local imports. I originally placed the "run.py" inside the project folder and it worked perfectly on the development server, but that does not match the structure described in your tutorial and it would not deploy.

When I place the "run.py" outside the project folder, it would not recognize the local packages I'm importing from within the project.

If you like to take a better look... here's the link on github

github.com/abbddos/Enterprise_1

This is my first web project ever, so I know there's a small twist somewhere that I'm missing.

Thank you very very much

Thread Thread
 
sm0ke profile image
Sm0ke

Hello,
let's chat in private.