Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiroakis/simple-bbs-cassandra
https://github.com/hiroakis/simple-bbs-cassandra
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hiroakis/simple-bbs-cassandra
- Owner: hiroakis
- Created: 2013-10-10T05:46:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-29T05:43:29.000Z (about 11 years ago)
- Last Synced: 2023-03-22T15:59:05.842Z (over 1 year ago)
- Language: Python
- Size: 547 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple BBS
A simple BBS using Apache Cassandra.
# Installation
* Install Apache Cassandra
Install Apache Cassandra on your server.
* Create keyspace and column family
Connect to cassandra command line interface, then create keyspace and create column family.
```
create keyspace bbs;
use bbs;
create column family threads with comparator=UTF8Type and default_validation_class=UTF8Type and key_validation_class=UTF8Type;
```* Deploy
Deploy this application.
```
git clone https://github.com/hiroakis/simple-bbs-cassandra.git
cd simple-bbs-cassandra/
pip install -r requirements.txt
```* Start app.py
Start application. Default port is 8000.
```
python app.py
```or Using gunicorn
```
gunicorn app:app -w 2 --bind=0.0.0.0:8000
```### Demo image
* Thread list
![](demo1.png?raw=true)* Posts in the thread
![](demo2.png?raw=true)