0
00:00:00,000 --> 00:00:05,160
In the previous video, we stopped on the Welcome Screen's Projects tab.

1
00:00:05,160 --> 00:00:06,600
But what's a project?

2
00:00:06,600 --> 00:00:08,440
And how does it help me?

3
00:00:08,440 --> 00:00:11,520
What kind of projects do spy charms support?

4
00:00:11,520 --> 00:00:15,200
What about projects that need virtual environments?

5
00:00:15,200 --> 00:00:16,520
Well, let's take a look.

6
00:00:16,520 --> 00:00:36,470
Hi, I'm <PRESIDIO_ANONYMIZED_PERSON>, JetBrains Development,

7
00:00:36,470 --> 00:00:39,800
and welcome to our PIE Charming Getting Started series.

8
00:00:39,800 --> 00:00:41,840
First, some object begging.

9
00:00:41,840 --> 00:00:46,200
Our data shows that 80% of you haven't subscribed to our channel.

10
00:00:46,200 --> 00:00:47,880
If you like this video,

11
00:00:47,880 --> 00:00:51,680
and you want to see some more content on the PIE Charm,

12
00:00:51,680 --> 00:00:55,440
click the subscribe button and keep me off the streets.

13
00:00:55,440 --> 00:00:56,990
In our previous video,

14
00:00:56,990 --> 00:01:02,200
we went through installing PIE Charm in the tabs on the Welcome Screen.

15
00:01:02,200 --> 00:01:06,040
The only tab we didn't cover was the Projects tab.

16
00:01:06,040 --> 00:01:07,060
In this video,

17
00:01:07,060 --> 00:01:11,360
we'll understand how to start your first project in PIE Charm,

18
00:01:11,360 --> 00:01:14,760
what kinds of projects are available.

19
00:01:14,760 --> 00:01:18,320
Which will environments and project interpreters?

20
00:01:18,320 --> 00:01:19,150
But first,

21
00:01:19,150 --> 00:01:24,880
we start with why PIE Charm organizes your code base in a project architecture?

22
00:01:24,880 --> 00:01:30,320
Let's start now.

23
00:01:30,320 --> 00:01:31,560
We get this a lot.

24
00:01:31,560 --> 00:01:33,520
I've just installed the IDE.

25
00:01:33,520 --> 00:01:38,640
I'm looking at the Welcome Screen, and I need to make a project.

26
00:01:38,640 --> 00:01:40,880
But what's a project?

27
00:01:40,880 --> 00:01:42,360
Why do I need it?

28
00:01:42,360 --> 00:01:47,250
This is a major difference between IDEs like PIE Charm and Text Editor,

29
00:01:47,250 --> 00:01:50,000
so let's take a look.

30
00:01:50,000 --> 00:01:53,120
You might have a really big code base.

31
00:01:53,120 --> 00:01:57,720
PIE Charm is great at analyzing all of that code and making sense of it.

32
00:01:57,720 --> 00:02:01,510
Then making you really productive at moving around, editing,

33
00:02:01,510 --> 00:02:05,080
bulk refactoring, warnings about problems.

34
00:02:05,080 --> 00:02:09,760
Where do we put this code intelligence in a project?

35
00:02:09,760 --> 00:02:12,760
What your coding isn't just editing files.

36
00:02:12,760 --> 00:02:18,260
You have development workflows to running code, debugging code,

37
00:02:18,260 --> 00:02:22,370
Python consoles, system terminal, test coverage, profiling,

38
00:02:22,370 --> 00:02:23,840
virtual databases.

39
00:02:23,840 --> 00:02:33,280
The project is your central view of all of this for your code in a consistent quality familiar UI.

40
00:02:33,280 --> 00:02:37,640
People usually don't fire up PIE Charm just to jot something down in a file.

41
00:02:37,640 --> 00:02:44,640
If your work is your project, you're going to spend some time in it.

42
00:02:44,640 --> 00:02:51,880
Now, back to where we left off on the Welcome Screen and the Projects tab.

43
00:02:51,880 --> 00:02:53,940
If you've already worked on a project,

44
00:02:53,940 --> 00:02:57,920
the Welcome Screen will look a bit different to you.

45
00:02:57,920 --> 00:03:00,810
With the list of your recent projects shown in the center,

46
00:03:00,810 --> 00:03:04,600
but the options will stay the same.

47
00:03:04,600 --> 00:03:08,600
There are three available options on this screen.

48
00:03:08,600 --> 00:03:14,090
First, we could get an existing project from version control, like GitHub,

49
00:03:14,090 --> 00:03:15,280
for example.

50
00:03:15,280 --> 00:03:22,720
All we would need to do here is paste a repository URL and click clone.

51
00:03:22,720 --> 00:03:25,480
I'm not going to clone the repository right now.

52
00:03:25,480 --> 00:03:29,570
If you want to learn more about this and other version control,

53
00:03:29,570 --> 00:03:30,610
VCS topics,

54
00:03:30,610 --> 00:03:38,520
please take a look at the introduction to GitHub and GitHub and PIE Charm video from this series.

55
00:03:38,520 --> 00:03:46,200
The second option we could go for is opening a project stored on our local machine.

56
00:03:46,200 --> 00:03:47,160
From there,

57
00:03:47,160 --> 00:03:52,320
navigate your local drive to find a project that you want to work on.

58
00:03:52,320 --> 00:03:56,120
Then select it and click "Open".

59
00:03:56,120 --> 00:04:01,400
Again, we won't be showing that option, so I'll hit cancel.

60
00:04:01,400 --> 00:04:04,400
Instead, I'll go with the third option.

61
00:04:04,400 --> 00:04:08,720
We're going to create a new project.

62
00:04:08,720 --> 00:04:11,120
Now that we decided to create a new project,

63
00:04:11,120 --> 00:04:18,400
we can see the first difference between PIE Charm community and PIE Charm Professional.

64
00:04:18,400 --> 00:04:21,630
If you are using PIE Charm Professional,

65
00:04:21,630 --> 00:04:25,720
you can start taking advantage of project types.

66
00:04:25,720 --> 00:04:34,680
Project types are pre-configured environments that automate the project creation by setting technology specific preferences,

67
00:04:34,680 --> 00:04:40,120
downloading dependencies, creating required files, etc.

68
00:04:40,120 --> 00:04:44,350
Because PIE Charm community is only meant for PIE Charm,

69
00:04:44,350 --> 00:04:48,240
you won't see these options on the left side.

70
00:04:48,240 --> 00:04:50,460
In PIE Charm Professional, on the other hand,

71
00:04:50,460 --> 00:04:54,320
there are several technologies that you can choose from.

72
00:04:54,320 --> 00:04:59,140
You can also select PIE Charm if all you want to work on is a PIE Charm project,

73
00:04:59,140 --> 00:05:03,940
which is what you also get in PIE Charm community edition.

74
00:05:03,940 --> 00:05:13,380
But chances are that your work requires a PIE Charm web framework or scientific tools or maybe front in technologies.

75
00:05:13,380 --> 00:05:16,000
In this case, you have some options.

76
00:05:16,000 --> 00:05:19,160
If you are working with a PIE Charm project,

77
00:05:19,160 --> 00:05:27,600
PIE Charm supports popular frameworks such as Django and Flask out of the box.

78
00:05:27,600 --> 00:05:30,560
If working with data science is your goal,

79
00:05:30,560 --> 00:05:34,080
you can leverage the scientific tooling setup.

80
00:05:34,080 --> 00:05:39,880
It will create a con environment and the full structure for you.

81
00:05:39,880 --> 00:05:42,460
Finally, if you want to work on your front end,

82
00:05:42,460 --> 00:05:51,080
PIE Charm Professional also has professional support for working with JavaScript and TypeScript and it's related technologies,

83
00:05:51,080 --> 00:05:54,920
including Angular and React.

84
00:05:54,920 --> 00:05:59,440
In this video, we're going to start working on a Django project.

85
00:05:59,440 --> 00:06:04,840
We will call it "getting understarted".

86
00:06:04,840 --> 00:06:11,420
We now need to take a detour and cover something in PIE Thon that is certainly a stumbling block,

87
00:06:11,420 --> 00:06:23,480
virtual environments. In PIE Thon projects is considered a best practice to do your work in a virtual environment.

88
00:06:23,480 --> 00:06:28,400
Each project then acts like it has its own independent PIE Thon interpreter.

89
00:06:28,400 --> 00:06:30,520
You install a package and one project,

90
00:06:30,520 --> 00:06:33,960
it won't mess up or interfere with another project.

91
00:06:33,960 --> 00:06:37,560
It's a painful part of starting a PIE Thon project.

92
00:06:37,560 --> 00:06:39,700
We won't go into a lot of depth about it,

93
00:06:39,700 --> 00:06:44,680
but it's important to know that PIE Charm tries really hard to take care of this part,

94
00:06:44,680 --> 00:06:51,580
creating your project in interpreter and activating your virtual environment.

95
00:06:51,580 --> 00:06:53,780
Back to the new project screen.

96
00:06:53,780 --> 00:06:57,830
We have a section called PIE Thon interpreter colon,

97
00:06:57,830 --> 00:07:00,020
new virtual environment.

98
00:07:00,020 --> 00:07:03,800
In our case, we're going to create a new one using virtual environment,

99
00:07:03,800 --> 00:07:05,380
but as you can see here,

100
00:07:05,380 --> 00:07:10,740
PIE Charm also supports PIE Thon and content out of the box.

101
00:07:10,740 --> 00:07:12,790
I already have PIE Thon 3.10

102
00:07:12,790 --> 00:07:18,740
installed as my default PIE Thon, PIE Charm detected it so I click create.

103
00:07:18,740 --> 00:07:22,850
What happens next, PIE Charm creates a new project for us,

104
00:07:22,850 --> 00:07:24,820
a Django project in fact.

105
00:07:24,820 --> 00:07:28,320
PIE Charm created an activated virtual environment,

106
00:07:28,320 --> 00:07:31,060
downloaded all the required dependencies,

107
00:07:31,060 --> 00:07:35,320
and generated an empty Django project with configuration files,

108
00:07:35,320 --> 00:07:39,340
and run a debug configurations and more.

109
00:07:39,340 --> 00:07:43,740
The cool thing is that I can jump straight into coding now.

110
00:07:43,740 --> 00:07:49,700
Now if you close this project and we go back to the PIE Charm welcomescreen,

111
00:07:49,700 --> 00:07:53,220
you'll see that the projects tab has changed slightly.

112
00:07:53,220 --> 00:07:58,780
Now you'll see your recent projects and this list will grow as you have more projects.

113
00:07:58,780 --> 00:07:59,510
Alright,

114
00:07:59,510 --> 00:08:05,030
in this video we learned about projects and how to start a new project in PIE Charm.

115
00:08:05,030 --> 00:08:09,000
For more information on working with projects in PIE Charm,

116
00:08:09,000 --> 00:08:13,020
check out our documentation page, the links are in the description.

117
00:08:13,020 --> 00:08:17,010
In the next video we're going to dive into PIE Charms UI,

118
00:08:17,010 --> 00:08:21,340
so you'll feel more comfortable starting your code journey right away.

119
00:08:21,340 --> 00:08:21,980
See you there.

120
00:08:21,980 --> 00:08:36,540
[Music]