diff --git a/.gitpod.yml b/.gitpod.yml index 200c369..22c1f70 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,14 +1,14 @@ +--- # Commands to start on workspace startup tasks: - name: "Prepare Environment" - init: > + command: > pip install --upgrade pip && pip install --upgrade poetry && + poetry config virtualenvs.in-project true && poetry install && poetry shell && - clear - command: beerlog - + beerlog # Ports to expose on workspace startup # ports: # - port: 8000 @@ -18,7 +18,8 @@ tasks: vscode: extensions: - "ms-python.python@2021.9.1218897484" - - "redhat.vscode-yaml" - "tamasfe.even-better-toml" - "alexcvzz.vscode-sqlite" - "jdinhlife.gruvbox" + - ms-toolsai.jupyter-renderers + - ms-toolsai.jupyter-keymap \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 814e958..980341d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -29,7 +29,6 @@ "python.formatting.provider": "black", "editor.renderWhitespace": "boundary", "workbench.tree.renderIndentGuides": "always", - "python.pythonPath": "/home/gitpod/.cache/pypoetry/virtualenvs/beerlog-DlEBh_72-py3.8/bin/python", "python.linting.pylintEnabled": false, "python.linting.flake8Enabled": true, "python.linting.enabled": true diff --git a/start_poetry b/start_poetry new file mode 100755 index 0000000..93576e7 --- /dev/null +++ b/start_poetry @@ -0,0 +1,7 @@ + +pip install --upgrade pip +pip install --upgrade poetry +poetry config virtualenvs.in-project true +poetry install +poetry shell +beerlog \ No newline at end of file