---
title: "Deploy flux"
description: "A data streaming proxy service that uses Server-Sent Events (SSE)."
category: "Other"
url: https://railway.com/deploy/_RXeq1
---

# Deploy flux

A data streaming proxy service that uses Server-Sent Events (SSE).

**[Deploy flux on Railway](https://railway.com/template/_RXeq1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/_RXeq1/manifest.json

- **Creator:** Varun Sahni's Projects
- **Category:** Other
- **Total deploys:** 3

## Template content

### flux

- **Source:** notskamr/flux
- **Start command:** `bunx drizzle-kit push:sqlite && bun run start`
- **Public domain:** Yes

## Documentation

## Setting Up Turso (Optional)
1. Create a [Turso](https://turso.tech/) account
2. Using either the [CLI](https://docs.turso.tech/quickstart) or web UI, create a new Turso database, and note the URL
3. Using either the [CLI](https://docs.turso.tech/cli/db/tokens/create) or web UI, get the auth token for the database

Note: A local SQLite file can be used instead of a Turso/libSQL database (set the TURSO_URL to a file - eg. 'file:data.db'). The file must be persistent between runs.

## Railway Deployment
- Plug in the environment variables into Railway
- Deploy!

## Live Site
Test out the site by visiting the live page at your Railway domain. Try to create a new Fluxpoint by sending a `POST` request to `/new`, or by pressing the button on the homepage.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/_RXeq1
