Managing Workspaces5:34 with Nick Pettit
Treehouse students can create up to 100 Workspaces, so it's important to learn how to manage Workspaces. Each Workspace can be renamed, forked, or deleted.
We've learned a lot about working with individual workspaces. 0:00 But when you're taking courses on TreeHouse or practicing on your own, 0:03 you'll create lots of workspaces, and it's important to learn how to manage them all. 0:06 So let's take a look. 0:12 From anywhere on TreeHouse you can go to the menu on the left, and 0:14 click on Workspaces, and you'll see a screen that looks like this. 0:18 This is a list of all the workspaces that I've created, whether it's for 0:22 practicing on my own, or for following along with the course on TreeHouse. 0:27 For each listing, 0:32 you'll see the title of the workspace, along with where it was started from. 0:33 So this was started from just a blank workspace. 0:39 This one was started from a template. 0:42 And this one was started from a course, 0:45 you can also see what type of work space it is. 0:47 So these are front end workspaces but this one I'm using Python, 0:51 on the right we have a few more controls for forking and 0:57 renaming workspaces so we'll take a look at those in a moment. 1:01 But first let's look at this bar across the top. 1:05 I have a lot of workspaces and 1:09 sometimes it could be difficult to find the one that I'm looking for. 1:12 So, I can use the search here, and let's say for example, 1:15 that I wanted to see all of the workspaces that have the word CSS In the title. 1:19 So now I've found all the workspaces that have CSS in the title or 1:25 in where they were forked from or where they were started from. 1:31 So let's remove that search. 1:36 In addition, you can also filter, so 1:40 right now I'm sorting by whatever the latest workspaces are that I've created. 1:44 But you can also sort by name. 1:49 If I just want to see the Python workspaces I've created, or 1:55 the front end work spaces I've created, I can filter by the environment. 1:59 So there's the only Python workspace I've created. 2:05 There's all of the front end workspaces, but 2:09 I just want to look at all environments. 2:11 You can also filter by the courses or workshops that you've taken on TreeHouse. 2:15 So, for example, I have several workspaces that I've made associated with the course, 2:21 how to make a website, or HTML Forms or Ruby Basics, and you can easily 2:26 find workspaces associated with courses or workshops by filtering this way. 2:32 From this interface, you can also create new workspaces by clicking the new button 2:37 on the left, and you'll be presented with this dialogue box that says New Workspace. 2:42 And you can type in the title for your workspace, 2:50 such as My Workspace or Example Workspace. 2:53 And then you can choose the environment, such as Front End, 3:00 and then you can choose a template to start from, or 3:05 you can start from one of your existing work spaces. 3:09 Then you can click Create Workspace and 3:16 workspaces will automatically open your newly created workspace. 3:18 But for now, I'm going to close this and 3:24 as you can see it's now listed as one of my available workspaces. 3:27 Your TreeHouse account will be limited to 100 workspaces and 3:32 as you create new workspaces, this progress bar will fill up. 3:36 So that you know how many you have available to you. 3:40 If you want to rename a workspace or delete a workspace, 3:43 you can click the gear icon next to the workspace that you want to change. 3:48 This will bring up the workspace settings window and 3:53 here I've called this Example Workspace. 3:56 I'll type, Another Workspace, and choose Update Workspace. 3:59 And now it will be renamed, however, 4:06 I'd like to just delete this workspace for now. 4:10 So I'll click the Workspace Settings button and then choose Delete Workspace. 4:13 A confirmation dialogue box will come up to let you know that this will 4:18 permanently delete the workspace and it cannot be undone, but 4:22 I'll click OK, and now that workspace is deleted. 4:27 Finally you can also fork a workspace. 4:32 So for example, if I were working on this website and 4:36 maybe I wanted to try out a different version of something or 4:41 do something experimental, I could click the fork button to create 4:45 a copy of this workspace, and I'll call this, Experimental. 4:51 And then click Fork Workspace, and as soon as I do that, it will open up 4:56 the newly forked workspace and allow me to make my changes. 5:02 This is great if you want to try out something where you're not sure if it's 5:08 gonna work or if you just want to make a copy of a workspace as a starting point. 5:12 If I close this workspace you can see that the forked version now 5:17 appears in my list of workspaces, and it will say that it was 5:23 forked from the Nick Pettit Website workspace, which you can see right here. 5:28
You need to sign up for Treehouse in order to download course files.Sign up