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
Henry Lopez
7,369 PointsUpdating website
If I wanted to have a section on my website where it would state various events and information that would need updating constantly throughout the year, would this just mean I would upload the current index.html file every time or is there another method?
2 Answers
garrycohen
13,914 PointsYep thats exactly what you would do unless you were to have a site based on a content management system (CMS) such as wordpress, which gives you the option to update your site using a backend site for admin users.
robberbaron
23,869 PointsPlease checkout this article from Chris Coyier.
Especially the approaches found under the headlines "git-ftp" and "grunt-ftp-deploy" are maybe suitable to your needs.
As it is advisable to use version control like Git for web development the command
git ftp push -u <user> -p - ftp://host.example.com/public_html
as mentioned on Chris' blog comes in very handy.
Be sure to also have a look into Grunt - it's a very powerful buildtool.
Good luck to you
Marc