Files
decomp.me/docs/VSCODE.md
EllipticEllipsis cdcfa59cfe Install fixes (#567)
* Update psycopg2 (previous was broken on Mac)

* Update readme

* Update recomp version, find the extracted tar contents
2022-10-22 12:42:46 +09:00

1.2 KiB

Configuring vscode for development

Poetry creates a virtualenv where packages for the site are installed. You can set your python interpreter path in vscode to use this virtualenv's interpreter, which will allow a much nicer backend development experience.

  1. Inside the backend/ directory, run poetry debug info and copy the "Path:" property under the "Virtualenv" category.
image
  1. In vscode, open the command window (Ctrl+Shift+P on Windows, Cmd+Shift+P on MacOS) and type "Python: Select Interpreter" and choose the command as it appears.
image
  1. Click Enter interpreter path... and paste your copied path from before.
image image