Skip to content

Installation

Omar Tsai edited this page Jul 3, 2024 · 1 revision

Installation guide

Pre-requisites:

  • Windows users will need to have VCC14 or higher. Get it at the microsoft page
  • Make sure to have python 3.12

User setup guide

You can install GraphQLer via pip:

pip install GraphQLer

and use it like so:

python -m graphqler --help

Developer setup guide

Using Poetry (Recommended)

Install poetry here

Setting up the environment:

# Creating the virtual environment
python3 -m venv .venv

Installing dependencies:

poetry shell
poetry install

Using requirements.txt

Setting up the environment:

# Creating the virtual environment
python3 -m venv .venv

# Activating the virtual environment
source .env/bin/activate

Installing dependencies:

(.env) pip install -r requirements.txt

Setting up pre-commit hooks (optional):

(.env) pre-commit install
Clone this wiki locally