CruGlobal / conf-registration-web

Event Registration Tool

Home Page:https://www.eventregistrationtool.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event Registration Tool (ERT) Web App

CI codecov https://www.eventregistrationtool.com | https://stage.eventregistrationtool.com

Development

Installing yarn

Use yarn for faster installs and to update the yarn lock file: https://yarnpkg.com/en/docs/install

Install & Run

  1. yarn or npm install
  2. yarn start or npm start
  3. Browse to http://localhost:9000

Development Tasks

  • yarn run test or npm run test to run karma tests
  • yarn run lint or npm run lint to run eslint
  • yarn run build or npm run build to generate minified output files. These files are output to /dist.
  • yarn run build:analyze or npm run build:analyze to open a visualization of bundle sizes after building
  • yarn run angular-gettext-extract or npm run angular-gettext-extract to extract strings to languages/ert.pot for translation

Deployment

  • Development should be done against master. Code merged to master will be deployed immediately to the production environment.
  • The staging branch deploys immediately to the staging environment. You can hard reset the staging to whatever commit you want to deploy to stage or merge code into that branch.

Adding dependencies

  • Use yarn add <package-name> or npm install <package-name> --save to install app dependencies
  • Use yarn add <package-name> -dev npm install <package-name> --save-dev to install tooling dependencies

Localhost API

To run against an ERT API server running on your localhost, edit https://github.com/CruGlobal/conf-registration-web/blob/master/app/scripts/app.js, replacing https://api.stage.eventregistrationtool.com with http://localhost:8080 in the vars.development.apiUrl property of the object passed to envServiceProvider.config.

About

Event Registration Tool

https://www.eventregistrationtool.com

License:MIT License


Languages

Language:JavaScript 51.9%Language:HTML 26.8%Language:TypeScript 17.9%Language:SCSS 2.1%Language:EJS 1.3%Language:Shell 0.0%