Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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 :/