https://www.eventregistrationtool.com | https://stage.eventregistrationtool.com
Use yarn for faster installs and to update the yarn lock file: https://yarnpkg.com/en/docs/install
yarn
ornpm install
yarn start
ornpm start
- Browse to
http://localhost:9000
yarn run test
ornpm run test
to run karma testsyarn run lint
ornpm run lint
to run eslintyarn run build
ornpm run build
to generate minified output files. These files are output to/dist
.yarn run build:analyze
ornpm run build:analyze
to open a visualization of bundle sizes after buildingyarn run angular-gettext-extract
ornpm run angular-gettext-extract
to extract strings tolanguages/ert.pot
for translation
- Development should be done against
master
. Code merged tomaster
will be deployed immediately to the production environment. - The
staging
branch deploys immediately to the staging environment. You can hard reset thestaging
to whatever commit you want to deploy to stage or merge code into that branch.
- Use
yarn add <package-name>
ornpm install <package-name> --save
to install app dependencies - Use
yarn add <package-name> -dev
npm install <package-name> --save-dev
to install tooling dependencies
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
.