An SNS backend framework, with Node and MySQL
-
Install Node and MySQL
-
Download or clone the repository
git clone git@github.com:node-fun/siyuan.git cd siyuan
-
Install dependencies and Configure
npm install cp -r config.default config
-
Setup the database
node setup [environment]
Usually, environment could be either
development
(default) orproduction
.
Testing records come with a development mode.
node . [environment]
npm test