/repliear

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Repliear

A high-performance issue tracker in the style of Linear.

Built with Replicache, Next.js, Pusher, and Postgres.

Running at repliear.herokuapp.com.

Prerequisites

  1. Get a Replicache license key
  2. Install PostgreSQL. On MacOS, we recommend using Postgres.app. For other OSes and options, see Postgres Downloads.
  3. Sign up for a free pusher.com account and create a new "channels" app.

To run locally

Get the Pusher environment variables from the "App Keys" section of the Pusher App UI.

Note: These instructions assume you installed PostgreSQL via Postgres.app on MacOS. If you installed some other way, or configured PostgreSQL specially, you may additionally need to set the PGUSER and PGPASSWORD environment variables.

export PGDATABASE="repliear"
export NEXT_PUBLIC_REPLICACHE_LICENSE_KEY="<your license key>"
export NEXT_PUBLIC_PUSHER_APP_ID=<appid>
export NEXT_PUBLIC_PUSHER_KEY=<pusherkey>
export NEXT_PUBLIC_PUSHER_SECRET=<pushersecret>
export NEXT_PUBLIC_PUSHER_CLUSTER=<pushercluster>

# Create a new database for Repliear
psql -d postgres -c 'create database repliear'

npm install
npm run dev

Credits

We started this project by forking linear_clone. This enabled us to get the visual styling right much faster than we otherwise could have.