Directories:
imprint- our open source tools. Open source repoconfirm- our code base!tests- our tests.docs- documentation.research- Research! Stuff in here might be in various of states of rough/polished.cloud- tools for working on cloud infrastructure including AWS and Codespaces.- Doing something new? Just make a new top level folder or a folder in research.
See here for a local set up. Look at the cloud documentation for setting up on AWS or GitHub Codespaces.
To get a fully functional development environment...
-
If you do not have conda installed already, please install it. There are many ways to get conda. We recommend installing
Mambaforgewhich is a conda installation wwithmambainstalled by default and set to useconda-forgeas the default set of package repositories. CLICK HERE for installers and installation instructions. -
Clone the git repo:
git clone git@github.com:Confirm-Solutions/confirmasaurus.git
-
Set up your confirm conda environment. The list of packages that will be installed inside your conda environment can be seen in
pyproject.toml.mamba update -y conda mamba # create a development virtual environment with useful tools mamba env create conda activate confirm # the following line makes poetry install into already activated # environment. poetry config virtualenvs.create false --local # install the confirm package plus development tools poetry install --with=dev,test,cloud # OPTIONALLY: Install a CUDA-enabled JAX build on Linux pip install --upgrade -r requirements-jax-cuda.txt
In order to commit code and pass the pre-commit checks, you will need to install go and gitleaks with brew install go gitleaks.