Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1,283 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

CommandDescription
pnpm devStart development server on port 3001
pnpm buildCreate production build
pnpm startStart production server
pnpm cleanRemove 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

CommandDescription
pnpm search:startStart the Meilisearch container
pnpm search:stopStop the Meilisearch container
pnpm search:buildIndex local docs (requires dev server running)
pnpm search:setupStart 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

Contributing

Stars

295 stars

Watchers

13 watching

Forks

Releases

Packages

Used by

Contributors

Languages