Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve React via static folder in Django #39

Open
travissouthard opened this issue May 6, 2023 · 0 comments · May be fixed by #49
Open

Serve React via static folder in Django #39

travissouthard opened this issue May 6, 2023 · 0 comments · May be fixed by #49
Assignees
Labels
django This issue requires backend work in Django docker This issue requires work in Docker

Comments

@travissouthard
Copy link
Collaborator

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

@travissouthard travissouthard added django This issue requires backend work in Django docker This issue requires work in Docker labels May 6, 2023
@travissouthard travissouthard self-assigned this May 8, 2023
@travissouthard travissouthard linked a pull request May 9, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
django This issue requires backend work in Django docker This issue requires work in Docker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant