1

I've been developing an Angular app with python flask as the backend API services for my business. I have looked many different tutorials but I still couldn't figure what I need to do deploy the application. My current project structure is as followed. Backend is the flask project and Frontend is my angular project. It works on my local machine but I would like to deploy the entire application as one project instead of two separate projects like it is right now. What do I need to know in order to configure my deployment?

enter image description here

1 Answer 1

1

you can server flask application using uwssi and it can be server by nginx server and frontend can be serve directly from nginx.

create as wsgi.py, instance app as application

from app import app as application

then run the wsgi command in background using supervisor or any other background services. you can go through the below link

flask application deployment

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.