title |
---|
pycharm_setup |
This is a PyCharm setup for contributors that are new to python. Also a reminder to myself if I forget how to set up my environment.
- Install Git
- Download 64-bit git for windows
- Install and hit next for everything
- Install PyCharm
- Download community edition for Windows
- When prompted, install bash and markdown support
- Othrewise hit next for everything
- Install Python 3
- Download and choose the latest python 3 'Windows x86-64 executable installer'
- In git, type
git clone https://github.com/pocc/merlink
- Open PyCharm and open a project in the merlink folder you cloned
- Set Python Intepreter
- Go to Edit > Settings > Project > Interpreter > Click on the gear icon in the upper-right-hand corner
- Hit "Add..."
- Choose New Environment
- In base interpreter, click on the ellipses to the right and enter
%appdata%\local\programs\python
in open window. You should see an executable you can select.
- Install missing packages
- Click on requirements.txt on the left hand side
- Once you click on its text, PyCharm should prompt you to install the missing libraries
- OK those installs
- Run application
- Go to the /src folder and click on 'merlink.py'
- Click on it and then go to Run > Run 'merlink'
- Verify that it loads correctly
- If you don't have a github account, set one up.