Git Product home page Git Product logo

cnpm's Introduction

web-mnpm

卖座cnpm内部服务

如何开始

  1. 安装node

  2. 安装yarn

npm install yarn -g
  1. 安装项目依赖
yarn install
  1. 启动项目
make start

项目目录结构

--config 是服务配置文件
--data   是sqlite数据  
  --nfs  是cnpm publish包存储的地方

项目简介

  1. 服务启动后开启2个端口7001和7002,7001是cnpm的web服务页面, 7002是cnpm的registry服务。

  2. 服务在192.168.1.210 kubernetes集群上部署了, 通过配置host可以访问到210的cnpm服务

192.168.1.210  mnpm.maizuo.com
192.168.1.210  registry.mnpm.maizuo.com
  1. 配置完cnpm的registry地址就可以拉取到卖座的@maizuo-fe/ 里面的包
cnpm config set registry http://registry.mnpm.maizuo.com
  1. 镜像存放于reg.miz.so的jike/web-mnpm

##发布脚步shell文件 根据每人设置不同发布
规则: ./shell ${env} ${tag}
example: ./shell dev v1.0.3

cnpm's People

Contributors

yuanxiaosi 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.