Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 1.11 KB

INSTALL.md

File metadata and controls

43 lines (23 loc) · 1.11 KB

Install

To run Fiora, you need to have Node.js (>= version 8.9.0) environment, MongoDB database, and qiniu.com cloud storage account (the picture needs to save to qiniu.com)

Step 1

Clone the project to the local git clone https://github.com/yinxin630/fiora.git -b master

Step 2

Installation dependencies, recommended yarn yarn or npm install

Step 3

Modify the configuration file:

Only qiniu.com related configurations in these configuration items are required, including: qiniuAccessKey, qiniuSecretKey, qiniuBucket, qiniuUrlPrefix

You can run without configuring qiniu.com, but it will not be able to send picture messages. You cannot modify the personal/group picture

  • server config: config/server.js
  • client config: config/client.js
  • webpack config: config/webpack.js

Step 4

run server npm run server

Step 5

run client npm run client

Step 6

The browser will automatically open Fiora, and you can manually open the url http://localhost:8080