nacos/README.md

86 lines
3.6 KiB
Markdown
Raw Normal View History

2018-07-21 00:27:23 +08:00
## Nacos
[![Gitter](https://badges.gitter.im/alibaba/nacos.svg)](https://gitter.im/alibaba/nacos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Gitter](https://travis-ci.org/alibaba/nacos.svg?branch=master)](https://travis-ci.org/alibaba/nacos)
-------
<img src="doc/Nacos_Logo.png" width="50%" height="50%" />
Nacos is an easy-to-use platform desgined for dynamic service discovery and configuration and service management. It helps you to build cloud native applications and microservices platform easily.
2018-07-21 13:50:42 +08:00
Service is a first-class citizen in Nacos. Nacos supports almost all type of servicesfor example[Dubbo/gRPC service](https://nacos.io/#/docs/use-nacos-with-dubbo.md)、[Spring Cloud RESTFul service](https://nacos.io/#/docs/use-nacos-with-springcloud.md) or [Kubernetes service](https://nacos.io/#/docs/use-nacos-with-kubernetes.md).
2018-07-21 00:27:23 +08:00
Nacos provides four major funcations.
* **Service Discovery and Service Health Check**
Nacos makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. Nacos also provides real-time healthchecks of services to prevent sending requests to unhealthy hosts or service instance.
* **Dynamic Configuration Management**
Dynamic Configuration Service allows you to manage configurations of all services in a centralized and dynamic manner across all environments. Nacos eliminates the need to redeploy applications and services when configurations are updatedwhich makes configuration changes more efficient and agile.
* **Dynamic DNS Service**
Nacos supports weighted routing, making it easier for you to implement mid-tier load balancing, flexible routing policies, flow control, and simple DNS resolution services in the production environment within your data center. It helps you to implement DNS-based service discovery easily and prevent applications from coupling to vendor-specific service discovery APIs.
* **Service and MetaData Management**
Nacos provides an easy-to-use service dashboard to help you manage your services metadata, configuration, kubernetes DNS, service health and metrics statistics.
### Quick Start
2018-07-21 00:27:23 +08:00
It is super easy to get started with your first project.
#### Download run package
[Download](https://github.com/alibaba/nacos/releases/download/v0.1.0/nacos-server-0.1.0.zip)
2018-07-21 02:12:52 +08:00
```
2018-07-21 13:50:42 +08:00
unzip nacos-server-0.1.0.zip
2018-07-21 02:12:52 +08:00
cd nacos/bin
```
2018-07-21 13:50:42 +08:00
#### Start Server
##### Linux/Unix/Mac
2018-08-01 17:22:37 +08:00
Run the following command to start (standalone means non-cluster mode):
`sh startup.sh -m standalone`
##### Windows
Run the following command to start:
`cmd startup.cmd`
Or double-click the startup.cmd to run NacosServer.
2018-08-01 17:22:37 +08:00
For more details, see https://nacos.io/#/docs/quick-start.md
2018-07-21 00:27:23 +08:00
Quick start for other open-source projects:
2018-07-21 02:11:06 +08:00
[quick start with spring cloud](https://nacos.io/#/docs/use-nacos-with-springcloud.md)
[quick start with dubbo](https://nacos.io/#/docs/use-nacos-with-dubbo.md)
[quick start with kubernetes](https://nacos.io/#/docs/use-nacos-with-kubernetes.md)
[more...](https://nacos.io/)
2018-07-21 00:27:23 +08:00
### Documentation
2018-07-21 00:27:23 +08:00
You can view full documentation on the Nacos website:
[nacos.io](https://nacos.io/#/docs/what-is-nacos.md)
### Contact
2018-07-21 02:11:06 +08:00
#### Nacos Gitter-[https://gitter.im/alibaba/nacos](https://gitter.im/alibaba/nacos)
2018-07-21 02:11:06 +08:00
#### Nacos weibo-[https://weibo.com/u/6574374908](https://weibo.com/u/6574374908)
2018-07-21 02:11:06 +08:00
#### Nacos segmentfault-[https://segmentfault.com/t/nacos](https://segmentfault.com/t/nacos)
#### Mailing list
[nacos\_dev@linux.alibaba.com](https://lark.alipay.com/nacos/nacosdocs/vl19q1).