How to deploy Django + React App on railway.

chandradutt5746
TRIAL

a year ago

I am getting an error while deploying. I think error on setting up environment. can anyone help me how to do it step by step??

6 Replies

a year ago

Are you able to share your repo(s) as it would help us tremendously in figuring out what you currently have.


chandradutt5746
TRIAL

a year ago

Hello

https://github.com/chandradutt5746/Portfoliowebsite

I think I messed up everything in repo. actually I'm newby and learning.


a year ago

You will first need to get your project files into the following structure -

├── frontend/
│   ├── package.json
│   └── ...
└── backend/
    ├── manage.py
    └── ...

chandradutt5746
TRIAL

a year ago

Okay


chandradutt5746
TRIAL

a year ago

What i did is. I moved the client folder which is react app. outside of the django project (backend).


a year ago

I saw, we shall continue when you have your project in the correct folder structure.