Skip to content

railwayapp/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,079 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Railway Documentation

This is the official documentation for Railway. You can view it at docs.railway.com.

Local Development

You'll need to have Node.js and pnpm installed. You can then install dependencies and start the development server by running the following commands:

pnpm install
pnpm dev

Open localhost:3001 to see the docs.

Available Commands

Command Description
pnpm dev Start development server on port 3001
pnpm build Create production build
pnpm start Start production server
pnpm clean Remove build artifacts

Local Search Setup

Search is powered by Meilisearch. To test search functionality locally, you'll need Docker.

Prerequisites

Copy the environment file to enable local search in the frontend:

cp .env.example .env.local

Search Commands

Command Description
pnpm search:start Start the Meilisearch container
pnpm search:stop Stop the Meilisearch container
pnpm search:build Index local docs (requires dev server running)
pnpm search:setup Start Meilisearch and index docs in one command

Quick Setup

  1. Start the dev server in one terminal:

    pnpm dev
  2. In another terminal, run the full search setup:

    pnpm search:setup

This starts Meilisearch on port 7700 and crawls your local dev server to index all documentation pages. The search bar will connect to Meilisearch using the environment variables from .env.local.

Contributing

Contributions from the community are welcome! Please read the Contributing Guide for details on how to submit changes.

About

Railway documentation

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 169