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
Checkout Dekart from GitHub; navigate to project directory;
Get your
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
- Install frontend dependencies
npm install
- Create and edit
.env
; see environment variables for details
cp .env.example .env
- Run Postgres DB locally
make docker-compose-up
- Run Server
make run-dev-server
- Run frontend
npm start