Skip to content

scf-samples/python-mongodb-blog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-mongodb-blog

Simple blog application used for testing MongoDB

Originally from https://github.com/gabrtv/python-mongodb-blog

Running locally

The app requires a local MongoDB instance exposed on localhost without authentication enabled.

$ cd python-mongodb-blog 
$ pip install -r requirements.txt
$ python blog/app.py

Pushing to Cloud Foundry

This app requires an MongoDB service bound to the application (exposed in VCAP_SERVICES):

$ cf create-service mongodb 3-6-6 mongoblog-db
$ cd python-mongodb-blog 

Uncomment the services block in manifest.yaml or specify another existing MongoDB service

$ cf push ...

About

Simple blog application used for testing MongoDB Replica Sets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 55.5%
  • HTML 44.5%