Skip to content

hiroakis/simple-bbs-cassandra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Posts in the thread

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published