Coder Social home page Coder Social logo

cad's Introduction

多项目目录结构

修改注意 废弃

bin —-- 处理脚本
conf.d —-- 容器Nginx配置 
entries —-- 项目文件     
 |—— admin —-- 后台管理 !废弃! 使用admin独立项目开发   
 |—— mobile —-- 移动端门户     
 |—— portal —-- PC端门户     
modules —-- 本地模块 
 |—— @cloudpviot  —-- 云枢官方模块 
 |—— ctesi  —-- CTESI模块
 |—— @h3  —-- 云枢官方模块 
 |—— h3-forms —-- 云枢官方模块 
deploy.sh —-- 部署脚本 
declarations.d.ts —-- TypeScript模块声明文件
Dockerfile —-- DockerImage配置文件
tsconfig.json —-- Typescript配置文件 
ngxin.conf —-- 容器Nginx配置 

开发准备工作

1.设置私库

npm set registry http://nexus.wisdombimsite.com/repository/npm/

2.登录到私库

npm login -registry=http://nexus.wisdombimsite.com/repository/npm/

  1. 输入用户名密码以及邮箱
Username: ctesi_dev
Password: 密码见环境账号密码
Email: (this IS public) [email protected]
  1. 确认登录结果

 登录成功 Logged in as ctesi_dev on http://nexus.wisdombimsite.com/repository/npm/.

 登录失败 401 Unauthorized - PUT http://nexus.wisdombimsite.com/repository/npm/-/user/org.couchdb.user:ctesi_dev - Bad username or password

3.安装依赖

npm run installs


本地开发切换项目

修改对应项目文件目录下的.env.debug

VUE_APP_BASE_URL = '/对应项目应用编码'
重新 npm run portal or mobile

更新项目代码及代码合并

第一步先将远程库的项目主干代码合并进你的开发分支 例:将CH分支合并到XXX_dev

主干代码为项目容器部署的代码
VUE_APP_BASE_URL = '/对应项目应用编码'
重新 npm run portal or mobile

cad's People

Watchers

Bovin Lv 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.