An open API service indexing awesome lists of open source software.

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.

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.sh

Then set your mongodb environment:

1. open /etc/mongod.conf, add

replication:
replSetName: rs0

2. 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).