Getting Started#
Before getting started, fork this repo and clone your fork.
Local Development Environment#
Setting up a workstation of development of this project.
Prerequisites#
Some of the listed prerequisites are recommended but not required.
Make (GNU recommended) for simplified actions
brew install make
on macOSsudo apt install make
orsudo apt install build-essential
or Ubuntu/Debianwinget install -e --id GnuWin32.Make
on Windows
npm for type checking & spell check (recommended to use nvm to install)
poetry for Python virtual environments
(recommended) direnv for setting environment variables (POSIX only)
(recommended) nvm to install and manage different versions of node (POSIX only)
see nvm-windows for Windows support
(recommended) pyenv to install and manage different versions of Python (POSIX Only)
see pyenv-win for Windows support
(recommended) Visual Studio Code for standardized IDE settings
Setup#
Clone the repo or your fork of this repo.
Change directory into the cloned directory.
Run
make setup
.Start developing.
By running make setup
, the following will happen:
poetry is used to setup a Python virtual environment.
pre-commit is configured from the virtual environment to run basic checks and formatting when a commit is made. These checks can be run manually using
make run-pre-commit
.node dependencies are installed.