Setting Up a Bitbucket Repository
This is outdated, ask about creating a Github Repo
Setup Bitbucket Account
The first thing that needs to happen is for the user to have a Bitbucket account. To get an account follow these steps.
1) In your browser go to KDD research bitbucket
2) In the top right of the screen, click 'Get Started'
3) Input all the fields and click 'Sign up' at the bottom of the form
4) Once you have signed up, you will receive an e-mail confirmation. You will need to confirm your account. When you click sign up, Bitbucket will log into your home screen.
After You Have An Account
After you have an account, you will need to gain access to the repository from one of the repository admins. Ask around on the appropriate Slack page to figure out who the admin is and how to gain access. You will need to supply the admin with your Bitbucket username.
Setting Up PyCharm
After the repository admin has added your account username. You will see it appear in your Bitbucket home. The new repositories will look like the following (these are the current repos as of when this page was built, there may be a difference from what you see but it will look very similar):
If you see something like this on your home screen, you are ready to get the project into PyCharm, If you do not have PyCharm, please visit the PyCharm subpage of 'New Members'
1) To check out the repository in PyCharm, first open the IDE. When you do you will see the following screen.
Note that this is not what the home screen will look like if this is your first time using the IDE
2) Click 'Check out from Version Control' and in the dropdown choose 'Git'
3) The next screen for PyCharm will look like what follows.
KEEPING THIS WINDOW OPEN Go into your bitbucket home and choose the KDD repository you are assigned. When you click the repository it will look like what follows:
4) In the top right corner there is the 'HTTPS' button, what follows is the repository URL, copy this URL and paste it into the 'Git Repository URL' input it in the PyCharm version control dialog.
5) fill out the other fields in the dialog. The directory name should fill out when you put in the URL, but in the middle input named 'Parent Directory' click the '...' to the right and select your development directory.
6) Click 'Clone' and let PyCharm do the rest.
7) After PyCharm is done click 'OK', this will open up the project. You are now looking at the source code.
Last updated by wnbaldwin on May 30, 2024