Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bslota/cloud-config
https://github.com/bslota/cloud-config
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bslota/cloud-config
- Owner: bslota
- Created: 2018-01-16T22:35:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T20:00:55.000Z (over 6 years ago)
- Last Synced: 2024-12-19T03:34:23.769Z (23 days ago)
- Language: Shell
- Size: 78.1 KB
- Stars: 11
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
This is a set of microservices created in order to present how to manage
configuration in a distributed environment. Project consists of following
services:
- Discovery Server
- Product Manager
- Customer Manager
- Gateway
- Config Server
# BuildingIn order to build all services at once, run following command in project's
root directory:```
mvn clean install
```If you want to build services one by one, run the same command in a proper
subdirectory.# Running
You can run all services on your local machine by performing one of the
following commands in every subdirectory._Please note that __Discovery Server__ should be run first_
```
mvn spring-boot:run
``````
java -jar {application}-{version}.jar
```Where _{application}_ stands for application name and _{version}_ is
current build version.## Docker
There is also a _Dockerfile_ prepared for each service and a
_docker-compose.yml_ file in a root directory. In order to setup
whole environment, run:```
docker-compose up
```