Public facing site for the Environmental Assessment Office (EAO) EPIC application.
Eagle is a revision name of the EAO EPIC application suite.
These projects comprise EAO EPIC:
- eagle-api
- eagle-public
- eagle-admin
- eagle-mobile-inspections
- eagle-reports
- eagle-helper-pods
- eagle-dev-guides
Note: The following commands work in macOS bash (not zsh which is now default in Catalina). The scripts are currently not fully working in Windows and Linux, so you may need to look at the source of the scripts and manually apply the commands in the correct order.
Run the following scripts to set up your environment:
./install_prerequisites.sh
./setup_project.sh-
After installing Node and Yarn, clone or download this repository.
-
Run
npm startto start the development server on port 4300.Navigate to http://localhost:4300 to verify that the application is running.
💡 Tip: To change the default port, modify the
defaults.serve.portvalue in.angular-cli.json. -
Run
npm run buildto build the project. The build artifacts will be stored in thedist/directory. Use the--prodflag for a production build:npm run build -- --prod -
Run
npm run lintto lint your code using TSLint.
The EPIC project has moved away from PR based pipeline due to complexity and reliability concerns of the PR based pipeline implementation. The current CI/CD pipeline utilizes Github Actions to build Docker images and push them back into the BC Gov OpenShift Docker registry.
A full description and guide to the EPIC pipeline and branching strategy is available in the eagle-dev-guides repository.
A brief guide to Angular CLI's code scaffolding can be found in eagle-dev-guides
An overview of the EPIC test stack can be found in our documentation guides: EPIC Test Stack.
Instructions on how running tests unit tests and end-to-end tests can be found in our test documentation.
Feel free to create pull requests from the default "develop" branch, click here to create one automatically: https://github.com/bcgov/eagle-public/pull/new/develop