CodeForPhilly / CodeForPhilly/balancer-main

Serving React from the Django Server

Open
#63 1 comment 0 reactions 4 assignees Claimed by @ryanrrogers View on GitHub
Dominant language
TypeScript
Stars
21
Forks
19
PR merge metrics
No merged PRs in 30d

Description

### Branch -> Serving

1. Currently trying to serve the react from the django server. Docker is setup currently to build the react app and put the files into the static folder. When docker-compose up is run, localhost:8000 is finding the index.html file, however, it is blank because it isn't loading the other static resources that it depends on.
2. When the react app is built, the app is compiled into a .js and .css file and then served through index.html. It is the .js and .css files that are not being found.
3. We need to find a way to incorporate the django templates with the index.html file so that these resources are loaded.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.