/siyuan

An SNS backend framework, with Node and MySQL

Primary LanguageJavaScriptMIT LicenseMIT

siyuan

An SNS backend framework, with Node and MySQL

Screenshots

 

 

 

 

 

 

 

 

 

 

Install

  1. Install Node and MySQL

  2. Download or clone the repository

    git clone git@github.com:node-fun/siyuan.git
    cd siyuan
    
  3. Install dependencies and Configure

    npm install
    cp -r config.default config
    
  4. Setup the database

    node setup [environment]
    

    Usually, environment could be either development(default) or production.
    Testing records come with a development mode.

Run

node . [environment]

Test

npm test