Line 40: |
Line 40: |
| == Setting up Pycharm == | | == Setting up Pycharm == |
| | | |
− | Create a new, blank PyCharm project. | + | 1. Create a new, blank PyCharm project. Call it Zynthian. |
| | | |
− | Call it Zynthian.
| + | 2. Go to VCS->Checkout from Version Control->Git. |
| | | |
− | Go to VCS->Checkout from Version Control->Git.
| + | 3. Use the GitHub URL for the given “repositoryname” and use the directory PyCharmProjects/Zynthian/repositoryname. |
| | | |
− | Use the GitHub URL for the given “repositoryname” and use the directory PyCharmProjects/Zynthian/repositoryname.
| + | 4. When you Click Clone, it will ask you “Would you like to open the directory …/PyCharmProjects/Zynthian/repositoryname?” Click Yes. |
| | | |
− | When you Click Clone, it will ask you “Would you like to open the directory …/PyCharmProjects/Zynthian/repositoryname?” Click Yes.
| + | 5. Then it will ask you “How would you like to open the project?” Select “Open in current window” and check “Add to currently opened projects”. |
| | | |
− | Then it will ask you “How would you like to open the project?” Select “Open in current window” and check “Add to currently opened projects”.
| + | 6. When you click “Okay” it will add it as a sub-project to Zynthian. You will see it in Bold letters. If it is not bolded, something went wrong somehwere. |
| | | |
− | When you click “Okay” it will add it as a sub-project to Zynthian. You will see it in Bold letters. If it is not bolded, something went wrong somehwere.
| + | 7. Go into Settings->Version Control->Ignored Files. Make sure to add repositoryname/.idea folder to the list. |
| | | |
− | Go into Settings->Version Control->Ignored Files. Make sure to add repositoryname/.idea folder to the list.
| + | 8. If you go to Settings->Version Control, you should see a list of all repositories that have been added and they all should say “Git”. |
| | | |
− | If you go to Settings->Version Control, you should see a list of all repositories that have been added and they all should say “Git”.
| + | So, for example, my setup (so far) looks like this (note that docs is not bold because it is not a GitHub folder): |
| | | |
| [[File:Pycharm-zynth-projects1.png]] | | [[File:Pycharm-zynth-projects1.png]] |
| + | |
| + | 9. If you haven’t already, go to Tools->Deployment->Configuration. Set it up like this: |