Skip to content

Instantly share code, notes, and snippets.

@xaqbr
Last active October 29, 2018 03:04
Show Gist options
  • Save xaqbr/b21842688e6184f2eead798c20c245d4 to your computer and use it in GitHub Desktop.
Save xaqbr/b21842688e6184f2eead798c20c245d4 to your computer and use it in GitHub Desktop.
Nine Tracks Local Setup Guide

Installation

Clone all three repositories:

Run yarn install in each

Setup

In the cloud-functions repo, search for index.ts and modify the domain array inside the CORS handler to support the connections you want to allow

Afterwards, build and deploy the cloud functions by running firebase deploy --only functions in that directory

Start

The web and server services must be running concurrently for NineTracks to function In the web repository, run yarn start In the server repository, run DATABASE_URL=https://ninetracks-80f47.firebaseio.com yarn start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment