Git Product home page Git Product logo

cnode's Introduction

React-CNODE项目介绍

  1. 此项目基于webpack+axios+Redux++Antd-mobile,主要使用webpack构建项目,gulp-ssh用于自动发布文件包到服务器。   2. 服务器使用的阿里云的centos服务器,挂在到nginx环境上。

指令介绍

  • 安装依赖包:npm install
  • 本地运行: npm run start
  • 本地编译: npm run build
  • 部署到服务器:npm run delpoy

VUE-CNODE项目介绍

  1. 此项目基于Vue+Webpack+Gulp-ssh,主要使用webpack构建项目,gulp-ssh用于自动发布文件包到服务器。   2. 服务器使用的阿里云的centos服务器,挂在到tomcat+nginx环境上。

指令介绍

  • 安装依赖包:npm install

  • 本地运行: npm run start

  • 本地编译: npm run build(因为个人项目,没有测试环境,我也只内置了dev和prd两个环境)

  • 部署到服务器:npm run delpoy

  • /buld/deploy.conf.prd 文件的ssh里面配置服务器的ip地址和账号密码,如果有多台服务器可以在里面配置多个.

    module.exports = {

      version: '1.0.0',
      
      ssh: [{
      
          host: '47.97.172.44',
          
          port: 22,
          
          username: 'root',
          
          password: 'xxxx'
          
      }],
      remoteDir: `/usr/local/apache-tomcat-9.0.5/webapps/cnode/`,
      commands: [
          `rm -rf /usr/local/apache-tomcat-9.0.5/webapps/cnode/`
      ]
    

    };

 因为使用的better-scroll,better-scroll首页的滚动翻页,PC端只能通过鼠标上下拖动来加载下一页,请不要滚动鼠标滚轮,或者拖动浏览器右边滚动条。否则无法加载下一页。mobile管一直都是通过滑动屏幕来实现的所以没有该问题。建议扫描二维码来查看效果。

有问题反馈

在使用中有任何问题,欢迎反馈给我,可以用以下联系方式跟我交流。

商业合作

本人目前就职于成都某海淘公司,业余时间可接前端项目,如果贵公司已经有了完整的后台接口,又需要开发移动站点的欢迎联系我,我可以利用业余时间帮贵公司完成项目。

cnode's People

Contributors

fourleafclover avatar

Watchers

James Cloos 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.