Public facing site project for EPIC
Eagle is a revision name of the EAO EPIC application suite.
These projects comprise EAO EPIC:
- https://github.com/bcgov/eagle-api
- https://github.com/bcgov/eagle-public
- https://github.com/bcgov/eagle-admin
- https://github.com/bcgov/eagle-mobile-inspections
- https://github.com/bcgov/eagle-reports
- https://github.com/bcgov/eagle-helper-pods
- https://github.com/bcgov/eagle-dev-guides
Note: The following commands work in MacOS bash (not zsh which 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 a right order.
Run the following two scripts to create your environment
#!/bin/bash
.\install_prerequisites.sh
#!/bin/bash
.\setup_project.sh
-
After installing Node and Yarn, you can fork or straight download a copy of this application to start your own app.
-
Run
npm start
to start the webpack server to run the application on port 4300.Go to http://localhost:4300 to verify that the application is running.
💡 To change the default port, open
.angular-cli.json
, change the value ondefaults.serve.port
. -
Run
npm run build
to build the project. The build artifacts will be stored in thedist/
directory. Use the-prod
flag for a production build, like so:ng serve --prod
to run in production mode. -
Run
npm run lint
to lint your app code usingTSLint
.
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