GithubHelp home page GithubHelp logo

fireyy / piper Goto Github PK

View Code? Open in Web Editor NEW
255.0 11.0 75.0 2.26 MB

A drag-and-drop mobile website builder base on Vue

Home Page: https://piper-now.herokuapp.com

JavaScript 47.70% HTML 1.74% Vue 48.92% CSS 1.64%
vue drag-and-drop drag builder editor page-builder

piper's Introduction

Piper Build Status


Live Demo

A drag-and-drop mobile website builder base on Vue.

Install

npm install

Config

First of all,create a database piper in PostgreSQL, MySQL, SQLite or MSSQL.

Then set up .env file with your:

  • Database connection details
  • Qiniu SDK config
  • Github CLIENT_ID and CLIENT_SECRET
cp env.sample .env

Develop

npm run dev

A message about px to rem

// `px` is converted to `rem`
.convert {
    font-size: 16px; // converted to 1rem
}

// `Px` or `PX` is ignored by `postcss-pxtorem` but still accepted by browsers
.ignore {
    border: 1Px solid; // ignored
    border-width: 2PX; // ignored
}

Changelog

1.0.5

piper's People

Contributors

fireyy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

piper's Issues

Not able to run

After doing npm install and running npm run dev I'm getting the following error:

dev@DevX:[~/go/src/bitbucket.org/tests/piper]: npm run dev

> [email protected] dev /home/dev/go/src/bitbucket.org/tests/piper
> nodemon --watch server --watch build --exec npm run server

sh: 1: nodemon: not found

npm ERR! Linux 4.4.0-78-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
npm ERR! node v7.10.0
npm ERR! npm  v4.2.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] dev: `nodemon --watch server --watch build --exec npm run server`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] dev script 'nodemon --watch server --watch build --exec npm run server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the piper package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     nodemon --watch server --watch build --exec npm run server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs piper
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls piper
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

Application error & npm run dev throw error

版本信息:
操作系统:MacOSX
node: v6.10.2
npm: 5.3.0

  1. 使用github授权登录demo得到如下报错信息。

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.

  1. 本地按照文档运行 npm run dev 命令得到如下错误:

抱歉!我修改了本地的package.json文件内容,确实是因为装了很久的node都没装上(在MacOSX和Linux上都试了一样的错误)。安装上8.*版本的node依赖一大堆问题,所以我就修改了package.json文件对node版本的依赖。

  "engines": {
    "node": ">=6.6.0", // 原本是  >=7.6.0
    "npm": ">=3.0.0"
  },
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'server' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preserver', 'server', 'postserver' ]
5 info lifecycle [email protected]~preserver: [email protected]
6 info lifecycle [email protected]~server: [email protected]
7 verbose lifecycle [email protected]~server: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~server: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/luo/Sites/tmp/piper/node_modules/.bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/luo/Sites/tmp/piper/node_modules/.bin:/Users/luo/.swiftenv/shims:/usr/local/sbin:/Users/luo/.composer/vendor/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle [email protected]~server: CWD: /Users/luo/Sites/tmp/piper
10 silly lifecycle [email protected]~server: Args: [ '-c', 'node index.js' ]
11 silly lifecycle [email protected]~server: Returned: code: 1  signal: null
12 info lifecycle [email protected]~server: Failed to exec server script
13 verbose stack Error: [email protected] server: `node index.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:289:16)
13 verbose stack     at emitTwo (events.js:106:13)
13 verbose stack     at EventEmitter.emit (events.js:191:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
13 verbose stack     at emitTwo (events.js:106:13)
13 verbose stack     at ChildProcess.emit (events.js:191:7)
13 verbose stack     at maybeClose (internal/child_process.js:886:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/luo/Sites/tmp/piper
16 verbose Darwin 16.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "server"
18 verbose node v6.10.2
19 verbose npm  v5.3.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] server: `node index.js`
22 error Exit status 1
23 error Failed at the [email protected] server script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

希望楼主能给出一些解决思路或者办法。谢谢~

English translation

Hi, your project seems to be great! But it is difficult to understand for not chinese speakers...
Can you add the english translation?

env.sample

cp: env.sample: No such file or directory

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.