Deploy guide

Deploy React apps
to your own server

Pushify builds your React app and serves it with nginx on your own server: SPA routing, asset caching and HTTPS included.

terminal · React
$ npm install -g pushify-cli

$ pushify init
✔ Created my-app (my-app)
  Repository: https://github.com/you/my-app @ main

$ pushify deploy --prod --wait
✔ Deployment triggered!
  Branch: main (production)
✔ Deployment successful!
  ✓ Your application is now live

Steps

How to deploy React with Pushify

Connect a server first: your own VPS over SSH, or a managed Hetzner server.

  1. 01

    Install the Pushify CLI

    $ npm install -g pushify-cliOne global install. Everything it does also works from the dashboard.
  2. 02

    Create the project

    $ pushify initSigns you in with an API key and creates or links a project from this git remote.
  3. 03

    Deploy to production

    $ pushify deploy --prod --waitThe server builds the app and serves dist (by default) from nginx over HTTPS.

Included

What you get with React on Pushify

Vite out of the box

Create React App with output: build in pushify.yaml

SPA routing falls back to index.html

Long-lived cache headers for hashed assets

Preview deployments on paid plans

Rollbacks to previous deployments

Get started

Ready to deploy your React app?

Free on one server you bring. Paid plans add managed servers and more projects.