Skip to content

bbliska/mas500_hw3

Repository files navigation

Flask Example - Get To Know : Global Voices

HW3: modified example to display 6 most recent stories and store info in // retrieve info from a MongoDB.

@bbliska

Installation

Make sure you havy Python 2.7 (and the pip package manager).

You also need to install the flask and feedparser libraries

pip install flask
pip install feedparser

Use

Run this command and then visit localhost:5000 with a web browser

python gettoknow.py

Deploying

First, prep your Ubuntu machine:

sudo aptitude install python
sudo aptitude install libapache2-mod-wsgi
sudo easy_install pip
sudo pip install feedparser
sudo pip install flask

Now follow the instructions for Configuring Apache: http://flask.pocoo.org/docs/deploying/mod_wsgi/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published