nitaibezerra / bonde

Uma ferramenta criada por ativistas para ativistas, gente que não sai de casa se não for pra causar: pressionar, provocar e participar ativamente da construção da vida coletiva.

Home Page:http://www.bonde.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BONDE

BONDE Logo

Build Status Opened Issues Count
Docker Automated Deploy Docker Build Status
Licence Conventional Commits

Understanding the Client Setup

Build and tests based on Create React App with Typescript

Commands

  • Tests:
pnpm m run tests # pnpm m run coverage
  • Development server:
pnpm m run start
  • Production build:
pnpm m run build
# pnpm m run start

How to add new env variables to build

Add them inside the .drone.yml file. That's where our CI setup lives, so when needed, add enviroment variables inside the "enviroment" indentation.

  build:
    enviroment: 
      - ENV=FOOBAR

You'll need to specify them inside the "build" (staging) and "production-build" (production) indentation. Therefore, change the env according to what you'll need in each enviroment.

PS: Don't add secret envs in there, this file is public and so will be the tokens/sensity info you'll be inserting there.

About

Uma ferramenta criada por ativistas para ativistas, gente que não sai de casa se não for pra causar: pressionar, provocar e participar ativamente da construção da vida coletiva.

http://www.bonde.org

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 99.3%Language:HTML 0.7%Language:Dockerfile 0.0%