Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (29 loc) · 1.5 KB

development.md

File metadata and controls

41 lines (29 loc) · 1.5 KB

Documentation / Development

Setup

Requirements

  • You will need to use vscode in order to use our auto-formatting tools and linting.
  • You'll need yarn to install packages. If you ever see a package-lock.json file, you've done something wrong (delete it and run yarn install).

Environment Variables

Do not use the same MONGODB_URL that is used in production. If you want a database for development, you can just create a free one with MongoDB Atlas.

MONGODB_URL=mongodb+srv...secret...
REACT_APP_API_BASE_URL=http://localhost:5000

// Optional
SENDGRID_API_KEY=SG....secret...
FEEDBACK_EMAIL=name@responsible.ai
DISABLE_FIREWALL=true

Commands

$ git clone https://github.com/AI-Global/ai-portal && cd ai-portal
$ yarn install
$ yarn watch:api

see /package.json (next to "scripts") for more handy yarn commands like yarn build.

Helpful Docs