Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

dekk-app/app

Repository files navigation

app

Project Setup

  1. Install Yarn v1
  2. Install nvm
  3. Clone this repository
  4. Create a Github Token
  5. Create a .npmrc file file
  6. Create a .env file
  7. Create a sentry.properties file

Github Token

Visit the Github Token page and create a new token. Give access to read:packages.

Github Token

NPMRC

Copy the .npmrc.example and rename it to .npmrc (ignored in git). Replace GITHUB_TOKEN with your newly created token.

The .npmrc file is required to allow access to private GitHub packages.

ENV

Copy the .env.example and rename it to .env (ignored in git). Add your values to the new file.

Sentry

Copy the sentry.properties.example and rename it to sentry.properties (ignored in git). Add your values to the new file.

The .env file is required to allow access to different services.

Install packages

Make sure to call nvm use before proceeding. (Check nvm's docs on deeper shell integration to learn how to call nvm use automatically) Alternatively you can check the .nvmrc file and ensure that you're using the correct node version.

cd path/to/dekk/app
nvm use
yarn install

Develop

To start developing start the next.js development script and open http://localhost:3000

yarn dev