Giter Site home page Giter Site logo

chenlan's Introduction

managePlatform

这个文件是管理平台说明文档,包括环境部署部署方法、技术方案、需求文档

环境部署--ubuntu(14.04)

1.nodejs安装--建议安装最新版本

$ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
$ sudo apt-get install -y nodejs
  • 设置镜像源为淘宝镜像源
$ npm config set registry https://registry.npm.taobao.org
$ npm info underscore (如果上面配置正确这个命令会有字符串response)

2.mysql安装--5.7版本以上

3.redis安装--安装最新版本

技术方案

1.技术选型

  • 总计架构使用koa@2+nodejs+mysql+bootstrap来实现
  • koa@2为web框架,nodejs为服务器,mysql为数据库,bootstrap为前端界面框架

2.代码提交审核

  • 使用git提交代码

3.代码要求

  • 代码统一使用ES6进行编写
  • 所有接口需要编写测试代码
  • 所有文件需要使用严格模式编写
  • 每一个函数、类、方法都需要写上说明,说明是用来进行说明操作的

4.中间件说明

  • MySQL使用knex中间件进行操作
  • 缓存使用redis数据库进行缓存

5.端口说明

  • 2017

6.代码部署

  • 使用pm2进行代码部署

需求文档

其他说明

目录工程说明

chenlan's People

Contributors

chenlan123 avatar

Watchers

James Cloos avatar

Forkers

guanxiaonan

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.