Skip to content

zxj963577494/node-snimay

Repository files navigation

node-snimay

Build Status Coverage Status

Example

https://snimay.herokuapp.com/

https://snimay.herokuapp.com/signin

user:admin666 password:123456

API Documentation or API Documentation

Quick Start Install

you’ll need Node.js v6 LTS

  1. git clone https://github.com/zxj963577494/node-snimay.git
  2. cd node-snimay
  3. npm install
  4. Start node-snimay
    • Local environment: npm run dev
    • On a server: npm start
  5. Web Application Init
    • Local environment: http://localhost:4000/admin/install
    • On a server: http://localhost:80/admin/install

Usage

config/default.js Or config/production.js

  qiniu: {
    ACCESS_KEY: 'xxxxxxx',
    SECRET_KEY: 'xxxxxxx',
    BUCKET: 'xxxxxxx',
    UPLOAD_ORIGIN: 'http://xxxxxxx.u.qiniudn.com/',
    BROWSE_ORIGIN: 'xxxxxxx'
  },