PyCharm¶
Setup PyCharm to always have the --keepdb
flag¶
Docstring settings¶
Git¶
Open a folder - attach that folder ![[image-20230228154829471.png]]
GitToolBox¶
inline git blame
Inline docs (PyCharm docs)¶
F1
and Ctrl Space
Critical shortcuts¶
- Cmd + E
- View recent files
- shift shift
- Open files (like Cmd P in VSCode)
- option r
manage.py
script
- shift-escape
- hides the bottom toolbar in PyCharm!
- useful when you always run black
Connect to a remote server¶
- Create a deployment config
- Create an SSH config (click the 3 dots)
- ![[image-20230110152723507.png]]
- get the port from
formaai <ec2_instance_id> pf app
- get the port from
- ![[image-20230110150635054.png]]
- ![[image-20230110152723507.png]]
- Create a Mapping
- syncs the container's
/app
folder with myremote-container
folder - ![[image-20230110150655880.png]]
- syncs the container's
-
Ensure it doesn't automatically sync files
- it's laggy
- ![[image-20230110153857402.png]]
-
Upload or Download from the container
- ![[image-20230110153209255.png]]
Last update:
2023-04-24