https://github.com/shiyanhui/young
A full-featured forum software built on Tornado and MongoDB.
https://github.com/shiyanhui/young
forum mongodb python
Last synced: 4 months ago
JSON representation
A full-featured forum software built on Tornado and MongoDB.
- Host: GitHub
- URL: https://github.com/shiyanhui/young
- Owner: shiyanhui
- Created: 2016-09-01T07:47:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:40:02.000Z (almost 3 years ago)
- Last Synced: 2025-06-07T08:48:32.182Z (4 months ago)
- Topics: forum, mongodb, python
- Language: Python
- Homepage: http://beyoung.io
- Size: 13.7 MB
- Stars: 799
- Watchers: 49
- Forks: 170
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A Full-featured forum software built with love by [Lime](http://lime66.com) in
[Python](https://www.python.org/).[中文README](https://github.com/shiyanhui/Young/blob/master/README_CN.md)
## Features:
- Classified topics
- Anonymity Support
- Social Network (tweet, friends etc.)
- IM Chat
- Real-time Notification
- Resource Share## Screenshots
## Installation
On Unbuntu 16.04:
git clone https://github.com/shiyanhui/Young.git
cd Young && ./scripts/install.shThen set your mongodb environment:
1. open /etc/mongod.conf, add
replication:
replSetName: rs02. restart mongodb
service mongod restart
3. enter mongo client and execute
mogno
rs.initiate()The next step you should initialize the database.
fab init
If you want to set up your own mail server, execute **setup_mail.sh**,
which will install postfix../scripts/setup_mail.sh
**NOTE**:
**scripts/install.sh** is only tested on Ubuntu-16.04, so on other
platform you may install manually. Just do as **scripts/install.sh** do step
by step.## Requirements
- Mongodb >= 2.6
- Ejabberd >= 16.08
- NSQ >= 0.3.8
- Elasticsearch >= 2.3.5
- NodeJS >= 4.0## Development
- you should start all required services before you run it.
```bash
fab start_service
```- build the resource.
```bash
fab build
```- run it locally.
```bash
# debug mode is close by default, it will automatically build before run
fab run# run it in debug mode
fab run:debug=true
```## License
Young is licensed under the [GNU Affero General Public License v3 (AGPL-3)](https://www.gnu.org/licenses/agpl-3.0.html).