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
- Create a new Railway service from the BarnBuddy repository.
- Set the service root directory to
docs. - Let Railway install dependencies with
npm install. - Use the start command:
npm run railway:start
- Add the custom domain:
doc.barnbuddy.pro
- 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