Skip to content

Serve React via static folder in Django #39

Description

@travissouthard

Overview

As part of the deployment and actions added by @themightychris we want to build our React bundle and deliver it as static files via our Django container.

Context

We could leave the frontend to be delivered as a separate container, but it would require many more resources on Code for Philly's part and on the user's part. Serving this all from one container will be much better for everyone in the long run.

Suggested solution (optional)

This blog post shows a good way to move forward with this, starting at the "Configuring Django and static files" section since we already have our front and back ends built

Metadata

Metadata

Labels

djangoThis issue requires backend work in DjangodockerThis issue requires work in Docker

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions