An admin application is a web-based application used by a privileged group of administrative personnel to manage various master data sets. The various resources that an Admin can manage are:
- Center (Registration centers)
- Device
- Machine
- Users (Admin, Registration staff)
Along with the resource and data management, the admin can generate master keys, check registration status, retrieve lost RID, and resume processing of paused packets. To start using the Admin portal, an admin user must be assigned to a zone. Refer overview and portal user guide.
This project was generated with Angular CLI version 8.0.3.
The project can be set up in two ways:
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.
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 ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
Recommended for contributors or developers who want to modify or build the services from source.
- Clone and build the project:
git clone <repo-url>
cd admin-ui
- Navigate to each service directory and build the Docker image:
cd admin-ui/<service-directory>
docker build -t <service-name> .
Start each service using Docker:
docker run -d -p <port>:<port> --name <service-name> <service-name>
Check that all containers are running:
docker ps
Access the services at http://localhost:<port> using the port mappings listed above.
- Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
-
export KUBECONFIG=~/.kube/<my-cluster.config>
-
$ cd deploy
$ ./install.sh
$ cd deploy
$ ./delete.sh
$ cd deploy
$ ./restart.sh
To learn more about admin services from a functional perspective and use case scenarios, refer to our main documentation: Click here.
-
To learn how you can contribute code to this application, click here.
-
If you have questions or encounter issues, visit the MOSIP Community for support.
-
For any GitHub issues: Report here
This project was generated with Angular CLI version 8.0.3.
This project is licensed under the terms of Mozilla Public License 2.0