Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Creating a Dev Environment

seamussmith edited this page Jan 3, 2022 · 22 revisions

Prerequisites

VSCode Extensions

  • Python (because python)
  • Django (django template syntax highlighting)
  • GitLens (very good extension in general, everyone should have it)

Tools

Things to do before setting up

  • Make sure you are logged in to GitHub via GitHub CLI. To do this, run gh auth login in a terminal and follow the steps.

Tips

  • You can open a PowerShell terminal in a directory by pressing shift+right-click and selecting "Open in Powershell terminal" in the right click prompt. This option is not shown when right clicking normally.
  • In VSCode, to open an integrated terminal you can press ctrl+shift+`.

Setting up a Dev Environment

Step 1: Clone the repo

  • Open up a terminal then navigate to your preferred directory
  • Run git clone https://github.com/worcestertechnicalhighschool/ratatoskr.git
  • Run cd ./ratatoskr
  • Run code . to open VSCode in the current directory

Step 2: Setup a virtual environment

  • In a terminal, run pipenv install
  • That's it I guess...