example jade-press plugin which add qrcode api
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plugins
test/e2e
.gitignore
.travis.yml
LICENSE
README.md
bower.json
gulpfile.js
package.json

README.md

jadepress-plugin-qr

Build Status

jade-press plugin which add qrcode api /qr?text={text}

use

//in jade-press config.js
exports.setting = {
    //...
    plugins: {
        'jadepress-plugin-qr': '*'
    }
    //...
}

then install

gulp install

test

#for mongodb driver ubuntu (optional)
#sudo apt-get install libkrb5-dev
#or visit https://github.com/mongodb/node-mongodb-native#troubleshooting for more

#for canvas ubuntu (optional)
#sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
#visit https://www.npmjs.com/package/canvas for more platform

#makesure your mongodb service is running

git clone https://github.com/jade-press/jadepress-plugin-qr.git
cd jadepress-plugin-qr
npm install node-gyp -g
npm install mocha -g
npm install bower -g
npm install
bower install
npm i jadepress-theme-pi
mkdir node_modules/jadepress-plugin-qr
cp -r plugins node_modules/jadepress-plugin-qr/

# if edit file, run "gulp watch"
npm run test

# if npm install failed