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

PHP Building Websites with PHP Slim Basics & Twig Templates Including & Rendering

Luis Martín
Luis Martín
1,439 Points

Why not cloning the source files from the Github repo?

I've just watched this video, but there's something I've found awkward and inconvenient for someone who wants to start coding projects.

Just because the source html, css, and js files are all in Github, it would have been much faster to clone that repo from the console:

git clone https://github.com/treehouse/emerson.git

instead of downloading the zip to the user's computer, and then upload all the downloaded files up to the workspace.

Just to start with good practices. Just my humble opinion ;)

Scott Lougheed
Scott Lougheed
19,390 Points

For a student who is working in a local development environment you could do that. This wouldn't work for students using Workspaces, so the directions are for those who are using workspaces.

Abraham Juliot
Abraham Juliot
47,353 Points

Scott, you can indeed clone repos in any workspace's console. Just remember to refresh the file tree after the installation is complete.