CodeForPhilly / CodeForPhilly/balancer-main
Serving React from the Django Server
@ryanrrogers ci sta già lavorando.
Dal 5/12/2023.
- Lingua principale
- TypeScript
- Stelle
- 21
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.