Skip to content

rawrgulmuffins/a_guided_tour_of_flask

Repository files navigation

What Even is This Thing?

This is a IPython notebook and example project dedicated to teaching what Flask is and how to use it.

Running The Notebook

You might have to sudo the next command if you're using the system python.

  • pip3 install -e . # This will take 3-4 minutes.
  • ipython notebook # This will open a web browser with the notebook directory available to you.

If you don't want to have to use sudo

  • Install Python3 #apt-get, yum, brew, or direct download.
  • git clone [email protected]:alord/flask_brownbag.git
  • cd flask_brownbag
  • sudo pip install virtualenvwrapper On Debian systems
  • source /usr/local/bin/virtualenvwrapper.sh OR
  • source /usr/bin/virtualenvwrapper.sh
  • mkvirtualenv --python=/usr/bin/python3 flask_brownbag
  • workon flask_brownbag
  • pip install -e . # This will take 3-4 minutes.
  • ipython notebook # This will open a web browser with the notebook directory available to you.

Directory Structure

the_flask_module.ipynb: Primary IPython notebook that shows off the fundamentals of Flask.

the_flask_module/: The heart of this presentation. Contains the primary notebook, examples, and images.

heart_beat/: A fully functional flask application which can be used to count the number of times that a URL is requested and saves some metadata about the requests.

flask_extensions/: Contains IPython notebooks about flask extensions.

setup.py: Contains all project metadata and setup tools installation instructions.

dev_requirements.txt: shows all modules which are required to modify this repository.

About

A Guided Tour of Flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published