Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.69 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.69 KB

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.