Skip to content

Flask microblog example using WhiteDB as an in memory stat layer

Notifications You must be signed in to change notification settings

mtchavez/whitepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whitepy

Flask microblog example using WhiteDB as an in memory stat layer.

Requirements

Setup

  1. Start up VM vagrant up
  2. Provision your server vagrant provision
  3. SSH into server vagrant ssh
  4. Make sure requirements are installed.
  • cd /srv/app
  • sudo pip install -r requirements.txt
  1. Run server sudo python main.py
  2. Now access app at http://192.168.33.10:5000

Create entries

  • Use login of admin with password default
  • Add several entries

Metrics captured in WhiteDB

  • views - Number of views for an entry
  • upvotes - Upvotes for an entry
  • downvotes - Downvotes for an entry

About

Flask microblog example using WhiteDB as an in memory stat layer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages