Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Ryan Ackermann
14,665 PointsHow to install Flask on a web host
Any good tutorial covering the installation of Flask on a web host? My web host is Dreamhost if that helps. I have found a very basic tutorial that jumps around too much and leaves out a bunch of assumed knowledge.
Thanks in advance!
1 Answer
Kenneth Love
Treehouse Guest TeacherI haven't ever set up Flask on Dreamhost. A bit of Googling led me to two guides that look pretty complete.
Looks like my steps would be:
- Install Python 3.4
- Install virtualenv
- Create a virtualenv, activate it, and install Flask
- Create the passenger_wsgi domain
- Put the Flask app in the virtualenv (ew but whatever)
- Move the passenger_wsgi.py file into the virtualenv
Ryan Ackermann
14,665 PointsRyan Ackermann
14,665 PointsCool, thanks Kenneth! I'll give that a try.
Ryan Ackermann
14,665 PointsRyan Ackermann
14,665 PointsThanks Kenneth Love ! I was able to build a rsvp form for my wedding website using Flask :) check it out if you'd like!