Git Product home page Git Product logo

nocalhost's Introduction

Nocalhost

api-docker nhctl Go Report Card LICENSE

Nocalhost is cloud native development environment. Check https://nocalhost.dev for more details.

The term "Nocalhost" originates from No localhost.

Its vision is that in the cloud era, developers use remote cloud native development environments to complete development instead of configuring developing, debugging and testing environments on local computers.

You can use Nocalhost to:

  • deploy complex microservice applications to cloud environment.
  • develop components(services) quickly with a prepared configuration.
  • share development environment within teams.
  • accelerate the feedback loop of "coding-building-running--debugging-testing-coding".

Why we make Nocalhost?

As microservices become more and more popular and the number of microservices increases, containerization technology becomes a good solution to standardize the runtime environment.

Kubernetes is a typical microservice runtime solution. But developers who build application based on Kubernetes are facing painful problems. Such as:

  • In order to develop a certain microservice, it is necessary to start the entire environment and all microservices, which requires high performance of local resources, poor experience and high cost;
  • Developers often only focus on the services they are responsible for. With the continuous iteration of services and configurations, it is more and more difficult for the machine to start the new and complete development environment;
  • Every time the code changes, the process of build image -> push image -> pull image -> restart application (Pod) is required, the feedback loop of development is extremely long;
  • When two or more developers are involved in remote collaboration and joint debugging, they need a flatten network(VPN is too complicated to configure).

How to solve?

Based on Kubernetes, Nocalhost provides several features:

  • Quickly create an application development environment based on Kubernetes Namespace isolation for each team member, which promises development and debugging will not affect each other;
  • Cloud native experience microservice development and debugging: No needs to start any microservices on local machine. Any code changes will be synchronized immediately to the remote Pod without rebuilding images.
  • Starting services orderly. Such as: "Mysql (UP & Init) -> RabbitMQ (UP) -> Server A (UP) โ€”> Server B (UP)"

Nocalhost components

Nocalhost Server

  • Nocalhost API
  • Nocalhost Web

Nocalhost Server manages applications, clusters, users and authorizations.

Nocalhost Dep

Nocalhost Dep is an Agent running in Kubernetes which controls the starting order of services.

nhctl

nhctl is a command line tool running locally. It controls status of applications and services.

IDE Plugin

Focusing on better experiences, Nocalhost provides developers with IDE Plugins to connect Cloud and local IDE directly.

Quick Start

https://nocalhost.dev/getting-started/

Developing

build nhctl

make nhctl

build Api Server

make api

build nocalhost-dep

make nocalhost-dep

Api Docs

swag init -g cmd/nocalhost-api/nocalhost-api.go

Then you can visit: http://127.0.0.1:8080/swagger/index.html

Contribution

๐Ÿ”ฅWe're Hiring

If you are interested with Nocalhost, please send resume to email: [email protected](Accept Remote Work)

nocalhost's People

Contributors

coding-wangwei avatar lyzhang1999 avatar anurnomeru avatar xinxinh2020 avatar fatjyc avatar wenxue202012 avatar mingshun avatar fcharlie avatar liangguangming avatar woodgear avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.