Sustainable Computing Research Lab (SCoRe)

[Flask]Getting started with Flask

Goal: Install and create a simple web application using Python framework Flask.

  1. Install Flask. (Run pip install flask in command prompt.)
  2. Create a web application using Python framework Flask.
  3. Make sure your application has at least two web pages. (Design doesn't matter. Web pages can just have different text.)
  4. Run your application using flask run.
  5. Run your application in debug mode.
  6. Run your application without using environment variables.
  7. Fork at least one project developed with Flask framework from scorelab GitHub page.

Submission Guidelines:

  • Submit the screenshots of your command line for steps 4, 5, 6.
  • Submit the link to your repository containing the source code. (Make sure to add comments in your code.)
  • Submit the screenshot of your forked repository for step 7.
  • Submit the screenshots of all of your pages running on localhost.

Task tags

  • python
  • flask
  • web developement

Students who completed this task

Terence, Reikaa

Task type

  • code Code
  • chrome_reader_mode Documentation / Training

Level

Beginner
close

2018