Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 1.17 KB

README.md

File metadata and controls

70 lines (51 loc) · 1.17 KB

OpenMeet (openmeet)

Building Communities

Install the dependencies

yarn
# or
npm install

Copy the environment variables and set the values

cp .env.example .env

Start the app in development mode (hot-code reloading, error reporting, etc.)

yarn dev
# or
npm run dev

Lint the files

yarn lint
# or
npm run lint

Build the app for production

yarn build
# or
npm run build

Test the app

yarn test
# or
npm run test

Adding variables to the build

  • Add to .env
  • Add to quasar.config.ts (env section)
  • Add to Dockerfile (window.APP_CONFIG section)

Customize the configuration

See Configuring quasar.config.js.

/public/config.json is configuration for the app. In k8s we load it from the configmap at runtime, and in npm run dev it is served and loaded from https://.../config.json

Running end to end tests

# edit the .env file to set the correct APP_TESTING_API_URL
# following env.example

npm run test:e2e

# run against the public site
npx cypress run --config baseUrl=https://platform-devopenmeet.net