GithubHelp home page GithubHelp logo

shiyanhui / young Goto Github PK

View Code? Open in Web Editor NEW
796.0 49.0 174.0 14.02 MB

A full-featured forum software built on Tornado and MongoDB.

Home Page: http://beyoung.io

Python 38.62% HTML 33.69% JavaScript 19.63% Shell 0.44% CSS 7.62%
forum python mongodb

young's Introduction

A Full-featured forum software built with love by Lime in Python.

中文README

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.
    fab start_service
  • build the resource.
    fab build
  • run it locally.
    # 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).

young's People

Contributors

dependabot[bot] avatar mturilli avatar shiyanhui avatar timgates42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

young's Issues

咨询

请问这个项目在django上应该怎么做呢?

logo

请问一下,这个 logo 是用什么软件设计的

where is envs/mongo/bin/activate

虽然没维护,还是想问问
envs/mongo不存在,只有envs/main

fabfile.py里的
local("/bin/bash -l -c 'source envs/mongo/bin/activate && nohup "
"mongo-connector -m localhost:27017 -t localhost:9200 -d "
"elastic2_doc_manager --continue-on-error &'")

缺少envs/mongo/bin/activate

Cannot share file greater than 16M

[E 170112 06:19:13 web:1548] Uncaught exception POST /share/new (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='POST', uri='/share/new', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Origin': 'http://localhost:8000', 'Content-Length': '21683702', 'Accept-Language': 'zh-cn', 'Accept-Encoding': 'gzip, deflate', 'Host': 'localhost:8000', 'Accept': '/', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1 Epiphany/3.20.3', 'Dnt': '1', 'Connection': 'Keep-Alive', 'Referer': 'http://localhost:8000/share', 'Cookie': 'session_id="2|1:0|10:1483999980|10:session_id|48:Yzg1NTk5ZWUtZDZiOC0xMWU2LWIwMmUtMDgwMDI3MDM1Yzk4|b5bb0d71a8f1bd6e31148873b9632a67e8aac861ca6c60858d9a3b0119faf428"; _xsrf=2|4063e675|754d976027562b150a302e0dbd8f9f15|1484004971', 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundarywMTLPz4ycgNfEqbS'})
Traceback (most recent call last):
File "/home/young/Young/envs/main/lib/python2.7/site-packages/tornado/web.py", line 1469, in _execute
result = yield result
File "/home/young/Young/envs/main/lib/python2.7/site-packages/tornado/gen.py", line 1015, in run
value = future.result()
File "/home/young/Young/envs/main/lib/python2.7/site-packages/tornado/concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "/home/young/Young/envs/main/lib/python2.7/site-packages/tornado/gen.py", line 1021, in run
yielded = self.gen.throw(*exc_info)
File "/home/young/Young/app/share/handler.py", line 232, in post
yield TemporaryFileDocument.insert(document)
File "/home/young/Young/envs/main/lib/python2.7/site-packages/tornado/gen.py", line 1015, in run
value = future.result()
File "/home/young/Young/envs/main/lib/python2.7/site-packages/tornado/concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
DocumentTooLarge: BSON document too large (21681975 bytes) - the connected server supports BSON document sizes up to 16777216 bytes.

python版本及monguo

python版本是2还是3,目前3各种问题,试了2也跑不起来。还在更新吗?

Proposing a PR to fix a few small typos

Issue Type

[x] Bug (Typo)

Steps to Replicate and Expected Behaviour

  • Examine README.md and observe shoud, however expect to see should.
  • Examine young/setting.py and observe enviroment, however expect to see environment.
  • Examine app/home/document.py and observe cotent, however expect to see content.

Notes

Semi-automated issue generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

To avoid wasting CI processing resources a branch with the fix has been
prepared but a pull request has not yet been created. A pull request fixing
the issue can be prepared from the link below, feel free to create it or
request @timgates42 create the PR. Alternatively if the fix is undesired please
close the issue with a small comment about the reasoning.

https://github.com/timgates42/Young/pull/new/bugfix_typos

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.