Repository navigation
Update README.md #866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bhumi46
wants to merge
1
commit into
mosip:develop
Choose a base branch
from
bhumi46:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update README.md #866
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,116 +1 @@ | ||
| # Admin Portal | ||
| [](https://github.com/mosip/admin-ui/actions/workflows/push-trigger.yml) | ||
| [](https://sonarcloud.io/dashboard?branch=develop&id=mosip_admin-ui) | ||
|
|
||
| ## Overview | ||
| 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](https://docs.mosip.io/1.2.0/modules/administration/admin-portal-user-guide). | ||
|
|
||
| This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.3. | ||
|
|
||
| ### Local Setup (for Development or Contribution) | ||
| The project can be set up in two ways: | ||
|
|
||
| 1. [Local Setup (for Development or Contribution)](#local-setup-for-development-or-contribution) | ||
| 2. [Local Setup with Docker (Easy Setup for Demos)](#local-setup-with-docker-easy-setup-for-demos) | ||
|
|
||
| ### Local Setup (for Development or Contribution) | ||
| ## Development server | ||
|
|
||
| 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. | ||
|
|
||
| ## Code scaffolding | ||
|
|
||
| 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`. | ||
|
|
||
| ## Build | ||
|
|
||
| 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. | ||
|
|
||
| ## Running unit tests | ||
|
|
||
| Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). | ||
|
|
||
| ## Running end-to-end tests | ||
|
|
||
| Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). | ||
|
|
||
| ### Local Setup with Docker (Easy Setup for Demos) | ||
| #### Build Docker Images Locally | ||
|
|
||
| Recommended for contributors or developers who want to modify or build the services from source. | ||
|
|
||
| 1. Clone and build the project: | ||
|
|
||
| ```text | ||
| git clone <repo-url> | ||
| ``` | ||
| ```text | ||
| cd admin-ui | ||
| ``` | ||
| 2. Navigate to each service directory and build the Docker image: | ||
| ```text | ||
| cd admin-ui/<service-directory> | ||
| ``` | ||
| ```text | ||
| docker build -t <service-name> . | ||
| ``` | ||
| #### Running the Services | ||
|
|
||
| Start each service using Docker: | ||
|
|
||
| ```text | ||
| docker run -d -p <port>:<port> --name <service-name> <service-name> | ||
| ``` | ||
| #### Verify Installation | ||
|
|
||
| Check that all containers are running: | ||
|
|
||
| ```text | ||
| docker ps | ||
| ``` | ||
| Access the services at `http://localhost:<port>` using the port mappings listed above. | ||
|
|
||
| ## Deployment | ||
| ### Kubernetes | ||
| ### Pre-requisites | ||
| * Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file: | ||
| * ``` | ||
| export KUBECONFIG=~/.kube/<my-cluster.config> | ||
| ``` | ||
| ### Install | ||
| ``` | ||
| $ cd deploy | ||
| $ ./install.sh | ||
| ``` | ||
| ### Delete | ||
| ``` | ||
| $ cd deploy | ||
| $ ./delete.sh | ||
| ``` | ||
| ### Restart | ||
| ``` | ||
| $ cd deploy | ||
| $ ./restart.sh | ||
| ``` | ||
| ### Product Documentation | ||
| To learn more about admin services from a functional perspective and use case scenarios, refer to our main documentation: [Click here](https://docs.mosip.io/1.2.0/id-lifecycle-management/support-systems/administration). | ||
|
|
||
| ## Contribution & Community | ||
|
|
||
| * To learn how you can contribute code to this application, [click here](https://docs.mosip.io/1.2.0/community/code-contributions). | ||
|
|
||
| * If you have questions or encounter issues, visit the [MOSIP Community](https://community.mosip.io/) for support. | ||
| * For any GitHub issues: [Report here](https://github.com/mosip/admin-ui/issues) | ||
|
|
||
| This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.3. | ||
|
|
||
| ## License | ||
| This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE) | ||
| test | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Restore the README content.
README.mdcontains onlytest. Users cannot identify the project or follow its setup and deployment guidance. Restore the verified project overview and setup, deployment, contribution, documentation, and license sections.Proposed README structure
🧰 Tools
🪛 markdownlint-cli2 (0.23.2)
[warning] 1-1: First line in a file should be a top-level heading
(MD041, first-line-heading, first-line-h1)
🤖 Prompt for AI Agents