I'm so confused regarding how to apply my build sequence for my FastAPI / NextJS app
pierrebrunelle
TRIALOP

a year ago

Here's what I need to run to build the frontend and start the backend server.

Please help me map that on to Railway build setup/settings: https://github.com/pierrebrunelle/test

Frontend Setup
cd frontend
npm install
npm run dev

Backend Setup
python -m venv venv
pip install -r requirements.txt
python app.py

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

a year ago

Hello,

Your repo would need to adopt a monorepo structure as shown here - https://github.com/railwayapp-templates/monorepo-example

Once you do that, you can follow this guide - https://docs.railway.app/tutorials/deploying-a-monorepo


Loading...