Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Create a Portfolio Using Python and Flask!
You have completed Create a Portfolio Using Python and Flask!
Preview
In this video, we’ll preview what we are building, set up a new Flask project, prepare our assets, and create a repo.
Prerequisites
- Python Basics | Course
- How to Install Python (macOS) | Workshop
- How to Install Python (Windows) | Workshop
Resources
- Python Virtual Environments | Workshop
- Git and GitHub Workflow for Developers | Workshop
- Create a Portfolio Using HTML and CSS | Workshop
Commands
To create a Python virtual environment
-
python3 -m venv env(macOS) -
python -m venv env(Windows)
To activate a virtual environment
-
source ./env/bin/activate(macOS) -
.\env\Scripts\activate(Windows)
To deactivate a virtual environment
deactivate
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[MUSIC]
0:00
Hello, Pythonistas, Brian here.
0:00
Today, we'll assemble
a portfolio site using Flask,
0:03
a popular Python framework for
creating websites.
0:07
A portfolio is essential for developers,
whether you're just starting or a pro.
0:10
Think of your portfolio
as your display window,
0:16
showing off all the fabulous
projects you've worked on.
0:19
Plus, making a portfolio is
a fantastic project on its own.
0:22
We'll use the project Travis
created with vanilla HTML, CSS, and
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up