Nanotechnology Promises Much
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    jadepress-plugin-qrpublic

    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 

    install

    npm i jadepress-plugin-qr

    Downloadsweekly downloads

    6

    version

    0.0.3

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar