Skip to main content

Railway Docs Site

This Docusaurus app is separate from the main BarnBuddy client and server.

Folder

The docs app lives at:

docs

This folder sits next to:

client
server

Railway Setup

  1. Create a new Railway service from the BarnBuddy repository.
  2. Set the service root directory to docs.
  3. Let Railway install dependencies with npm install.
  4. Use the start command:
npm run railway:start
  1. Add the custom domain:
doc.barnbuddy.pro
  1. Follow Railway's DNS instructions for the domain record.

Local Commands

Install dependencies:

npm install

Start local docs:

npm run start

Build:

npm run build