Giter Site home page Giter Site logo

pipeline-node-server's Introduction

pipeline-node-server

页面可视化搭建框架的后台服务

简介

提供模板生成页面的基本操作接口.

服务端脚本软件

  • unzip

准备工作

  • 需要在该项目同级建立pipeline-resources目录.
  • pipeline-template项目中生成模板压缩包pipeline-template.zip.
  • 添加模板文件 pipeline-resources/template/1/pipeline-template.zip.(目前路径写死)

非必须

  • 添加模板时上传的图片, 存储的是相对pipeline-resources的路径, 如果要本地访问到, 需要配置一下资源目录的nginx或代理. 编辑器会将 1/thumbnail.png -> http://res.pipeline/1/thumbnail.png.
# Whistle 代理配置
# pipeline
/http://res.pipeline/(.*)/ /Path/To/Your/pipeline-resources/template/$1

启动

$ npm i
$ npm run debug

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

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.