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

JavaScript

Can i upload an entire folder of files (a plug-in) into workspaces with the console?

I'm trying to install Enchant.js for a small project that i can then just download the workspace later. The only problem is NPM doesn't seem to work, and i don't want to drag and drop each individual file.. that would take a life time. Does anyone know another way around this, or the console commands to upload everything from a location on my pc?

Thanks

Hi Richard

If you are using Chrome then you can upload whole directories. But be aware that the workspace has a size limit of 10MB or so. The other way might be to tar/gzip your files and extract it via console.

Edit: The other option would be to deploy your project on heroku, they have free options and it should be sufficient for playing around.