Skip to content

Greatjian/flask_word_count

Repository files navigation

Flask by example

a Flask app that calculates word-frequency pairs based on the text from a given URL.

Referenced from Flask by Example - Project Setup on Real Python.

Activation before start

At Terminal, input the following codes for initiation each time:

$ source env/bin/activate
$ export APP_SETTINGS="config.DevelopmentConfig"
$ echo "source `which activate.sh`" >> ~/.bashrc
$ source ~/.bashrc
$ export DATABASE_URL="postgresql://localhost/wordcount_dev"
$ python manage.py runserver

Then run on local server (Press CTRL+C to quit).

Result

original webpage

try google

try github

About

first demo for web crawler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published