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

Python

Make the Social Network site made in the Social Website with flask course go online

Hi, i just finished the Social Network with flask course and thought why not publish it for the team im working for? So i uploaded it to my godaddy file directory and got a forbidden access. I then called godaddy and they told me i needed a index file. Now how would i make that ?

3 Answers

Zachary Kaufman
Zachary Kaufman
1,463 Points

I think they just mean an HTML file that links to your python files. So for example when you link CSS you do <link rel="stylesheet" type="text/css" href="stylesheet.css"> I'm not sure what exactly you put in for linking Python, but I am sure that the Python documentation has it somewhere... In the flask class they didn't tell you?

That was what i did in the first place but i think the problem is that i have to download python on my domain but i'm kinda lost on that but i'm gonna figure it out i hope haha

Zachary Kaufman
Zachary Kaufman
1,463 Points

Sorry I can't be more help, I plan to learn Flask and Django eventually but I'm still in the Python track :/