A Golang-based user information management service.
To run the service using Docker, ensure you have Docker installed on your system. Then, build the Docker image by navigating to the project directory and executing the following command:
docker pull ividernvi/iviuser:latestOnce the image is built, you can run the service using:
docker run -d -p 8080:8080 -p 8443:8443 -e IVIUSER_MYSQL_HOST=<mysql_hostname> -e IVIUSER_MINIO_ENDPOINT=<minio_endpoint> --name iviuser iviuser-appThis will start the service and map port 8080 of the container to port 8080 on your host machine. You can verify that the container is running by using:
docker psTo stop and remove the container, use:
docker stop iviuser-container && docker rm iviuser-containerTo run the service using Docker Compose, ensure you have Docker and Docker Compose installed on your system. Then, navigate to the project directory and execute the following command:
docker-compose up -dThis will start the service in detached mode. You can verify that the containers are running by using:
docker psTo stop the service, use:
docker-compose downWe welcome contributions to the iviuser project! To contribute, follow these steps:
-
Fork the repository: Click the "Fork" button on the top right of this repository's GitHub page.
-
Clone your fork: Clone your forked repository to your local machine using:
git clone https://github.com/<your-username>/iviuser.git
-
Create a branch: Create a new branch for your feature or bug fix:
git checkout -b feature-or-bugfix-name
-
Make your changes: Implement your changes and commit them with clear and concise commit messages:
git commit -m "Description of your changes" -
Push your changes: Push your branch to your forked repository:
git push origin feature-or-bugfix-name
-
Submit a pull request: Open a pull request from your branch to the
mainbranch of this repository. Provide a detailed description of your changes and the problem they solve.
- Ensure your code adheres to the project's coding standards.
- Write clear and concise documentation for any new features.
- Include tests for your changes, if applicable.
Thank you for contributing!