This action will force synchronization from 断鸿/osf, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
正如名字一样,OSF是一个开放、自由、分享的内容社区类网站原型。你会发现目前绝大多数的社交类网站、内容分享类、社区类、兴趣垂直类网站都有共同的特性,包括多用户,内容的发布、评论、喜欢,消息传递,Feed流,标签分类等等。打造OSF的初衷就是为了实现这些通用的模块,构建一个集合以上特点的内容社区类网站的原型。你可以用OSF构建一个单纯的社交网站,也可以加入标签成为一个兴趣社区,甚至两者皆可,这一切OSF都已为你提供。
同步提供下github地址: https://github.com/lvwangbeta/osf
此项目的Demo版演示已经部署在Coding.net http://osf.coding.io/welcome
演示用户:
邮箱 | 密码 |
---|---|
osfdemo1@163.com | demo123456 |
osfdemo2@163.com | demo123456 |
注意:如果自行注册登录,请使用真实邮箱地址,osf会为新注册用户发送激活链接
Sketch文件下载:osf_sketch
OSF选择Spring MVC作为后端基础框架,实现RESTFull url,为实现尽可能的前后端分离,除首屏数据渲染外均通过Ajax+json形式更新前端,url设计与数据交互规范见 url设计与数据交互说明
MySQL作为OSF的关系型数据库,除Feed之外的所有数据均由其存储,OSF表设计
Redis在OSF中的使用,主要缓存用户信息、统计计数,同时存储用户的Feed信息流和Tag与Feed的从属关系
#domain
domain.name=localhost
domain.ip=127.0.0.1
domain.port=8080
context=com.lvwang.osf
#jdbc config
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/osf
jdbc.username=root
jdbc.password=xxxxxx
#Redis config
redis.host=localhost
redis.port=6379
redis.password=
redis.maxIdle=300
redis.maxActive=600
redis.maxWait=1000
redis.testOnBorrow=true
#mail
mail.from=examle@mailhost.com
mail.password=xxxxxx
#thumbnail style
post_cover_thumbnail=?imageView2/2/w/500
album_thumbnail=?imageView2/1/w/200/h/200
img_base_url=http://xxx.xxx.xxx/
主要设置 域,MySQL、Redis连接配置,发件人邮箱,缩略图格式,云存储域名
Copyright (C) 2015 osf
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Sign in for post a comment
Comment ( 0 )