tomfool
Help with django setup
hi
project ID: 510ee6ef-4e3d-4fe3-ae13-2f21650a1e6f
first time setting up a django project on railway (which looks awesome btw).
I've got a project that contains a django backend and a react frontend in this format:
root_dir:
/frontend/<frontend_project_name>/
... has build, source, public, etc
/<backend_project_name>/
... is my django app, has bin, include, lib, python files
manage.py
README.md
...
when deploying I get this error:
?: (staticfiles.W004) The directory '/app/frontend/<frontend_project_name>/build/static' in the STATICFILES_DIRS setting does not exist.
I've tried a number of things to resolve, but it looks like the frontend directory isn't being pulled from git, even though it's in the repo.
Any ideas?
19 replies