# community **Repository Path**: cat_planet/community ## Basic Information - **Project Name**: community - **Description**: 基于 leancloud 的论坛的一个实现。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-03-21 - **Last Updated**: 2021-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README community ======= 基于 leancloud 的小型论坛的实现。 ## 快速体验 1. clone本仓库 2. 在本仓库目录中打开终端 3. 依次执行以下命令 ``` cd dist python3 -m http.server 8080 ``` 4. 在浏览器中打开```localhost:8080``` ## 使用说明 暂时只支持发表主题帖,不能发表回复; 目前只支持匿名发帖和纯文本内容,后续会支持用户系统和发布有格式文本。 快速使用指南: 1. 修改config.json中的配置,改写为leancloud应用的对应的值; 2. 然后确保本地有最新的node.js开发环境 3. 在本项目目录下依次执行以下命令 ``` npm install npm run dev ``` 4. 在浏览器中打开localhost:1234,开始使用。 5. 记得在leancloud中为social_data设置合适的权限,否则所有人都可以随意修改论坛中的内容 ## 构建文件 ``` npm run build ```