This project was generated with Angular CLI version 7.3.1/
https://github.com/Saims123/JackalTrack
Install node_modules needed for the project
npm i
Ensure that @angular-cli
are installed locally on the machine
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
All the components which is responsible for displaying and handling the HTML are located under the components
folder.
All the interfaces and services responsible for data handling, injection and progressing are located under the services
folder.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run npm run build
which already has the --prod flag set to using 'https://i7467177.bucomputing.uk' as the URL
Once the build is completed, it can be copied over into the EDAM server.
i7467177
https://i7467177.bucomputing.uk
Due to the use of Apache servers, special configuration file called .htaccess
need to be place inside public_html folder to ensure that every re-route goes to index.html.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To generate the documentation for this project, run :
npm run generate-docs
After it's finished building , serve the documentation to be view on browser, run :
npm run serve-docs
Then navigate to http://127.0.0.1:8080
to view the documentation
This project's authentication are handled by Microsoft Azure, this includes the indivisual routes as well.
Each routes to a different page needs to be registered there in order for the authentication process to work.
They are configured on https://portal.azure.com/
, under the Azure Active Directory
sector.
If in the event that there are issues with authentication, then login into the Azure Portal and search under Application Registration
for "JackalTrack" for troubleshooting.
Further documents regarding on how AAD works : Docs
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.