PyCharm and VCS
Posted by Jeremy YeoKhoo on Saturday, April 26, 2014
So this might be old news to you folk out there, but I use an IDE (Integrated Development Environment) to edit my code. And Eclipse is too much of a behemoth to behold, and thus enter pyCharm Community Edition. I have been using this awesome software for about 6 months now as recommended by a colleague of mine.
Working as a freelancer, I use different platforms to update my own personal code, so versioning would be a very handy tool, which pyCharm has its own version control system (VCS) in place. I use SVN's method of versioning, and I use TortoiseSVN at that. And yes, both of these software are free online. It took me awhile to get my head around it as alot of IT stuff is beyond me.
You will need to install PyCharm and TortoiseSVN. PyCharm is straight forward, but SVN, is a concept a little hard to grasp, no worries though... here is a link And I am using Windows 7 and Windows 8.1
(i) So basically before setting it up, you need to create a repository. This is basically the location that will contain all of your versioning of code.
(ii) Then you will need to add your project code files to the repository. In windows, right click the folder you want to add and select 'add' in the SVN sub menu.
(iii) Create a working folder. So in windows explorer, create a working folder. Get into that folder and right click select SVN checkout. That should import all your code from the repository. This is will be your working directory (folder) that contains all of your working files.
(iv) Start up pycharm. You can either import the code from SVN through pyCharm by selecting 'Check out from Version Control'
or
(iv) Do what I did, and just pen the project by browsing to the directory.
(v) Enable your VCS by selecting through the menu VCS > Enable Version Control
(vi) And voila! Your code is ready to be versioned.
Working as a freelancer, I use different platforms to update my own personal code, so versioning would be a very handy tool, which pyCharm has its own version control system (VCS) in place. I use SVN's method of versioning, and I use TortoiseSVN at that. And yes, both of these software are free online. It took me awhile to get my head around it as alot of IT stuff is beyond me.
You will need to install PyCharm and TortoiseSVN. PyCharm is straight forward, but SVN, is a concept a little hard to grasp, no worries though... here is a link And I am using Windows 7 and Windows 8.1
(i) So basically before setting it up, you need to create a repository. This is basically the location that will contain all of your versioning of code.
(ii) Then you will need to add your project code files to the repository. In windows, right click the folder you want to add and select 'add' in the SVN sub menu.
(iii) Create a working folder. So in windows explorer, create a working folder. Get into that folder and right click select SVN checkout. That should import all your code from the repository. This is will be your working directory (folder) that contains all of your working files.
(iv) Start up pycharm. You can either import the code from SVN through pyCharm by selecting 'Check out from Version Control'
or
(iv) Do what I did, and just pen the project by browsing to the directory.
(v) Enable your VCS by selecting through the menu VCS > Enable Version Control
(vi) And voila! Your code is ready to be versioned.
Tags: pycharm svn