-
Notifications
You must be signed in to change notification settings - Fork 4
/
pycharm-vagrant
33 lines (28 loc) · 956 Bytes
/
pycharm-vagrant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PyCharm with Vagrant
=====================
Vagrant VM configuration
------------------------
PyCharm > Preferences
Project Settings > Vagrant
Instance Folder: Enter path to vagrant instance
Python Interpreter > Configure Interpreters (Note: start virtual machine before configuring this)
+ > Remote
Fill from vagrant config
Test Connection - Successfully conntect to 127.0.0.1
Virtual Python interpreter setup
--------------------------------
Python Interpreter Path: /vagrant/bin/python (update this to python path or virtualenv python path whichever
is applicable)
Ok
Do you want to set this interpreter as project interpreter? yes
Apply
Ok
Adding src directories
----------------------
PyCharm > Preferences
Project Structure
Select directory on right panel > Click on Sources button above > the directory appears to in left under
'Source Folderes'
(Select apps, settings, projects if using https://github.com/vinodpandey/linux-dev-box)
Apply
Ok