Workflow for Angular/Django app development

I'm working on an app using Django & Angular. I need to build the Angular app and deploy it to be served through the Django dev server in order to use Django as the backend, and I'm wondering if there's a way to optimize the following steps:

  • Building the Angular app with ng build
  • Removing the Angular files from the static files directory in my Django app
  • Copying the built Angular app to the Django app static files directory

Ideally I'd like to have it done automatically on edit/save, similar to how each framework works independently. Do I have to cobble something together or is this supported already somehow? Thanks.

Вернуться на верх