Build from Source

Prerequisites

  • Google Cloud Project
  • BigQuery API Enabled
  • Cloud Storage Bucket
  • Service account credentials with access to all above
  • Mapbox Token
  • GitHub Account and GitHub Token

Steps

  1. Checkout Dekart from GitHub; navigate to project directory;

  2. Get your

  3. Create .npmrc file in the project directory with the following content and your github token

//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
@dekart-xyz:registry=https://npm.pkg.github.com

This step is required because dekart is using github packages

  1. Install frontend dependencies
npm install
  1. Create and edit .env; see environment variables for details
cp .env.example .env
  1. Run Postgres DB locally
docker-compose  --env-file .env up
  1. Run Server; you will need to install godotenv or handle environment variable otherwise
godotenv -f .env go run ./src/server/main.go
  1. Run frontend
npm start

Edit this page on GitHub