Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 876 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 876 Bytes

README

Welcome to the short documentation of royex project!


Commands

Run API

poetry run uvicorn apiserver.main:app --reload

Run Client

npm run dev --prefix web

Install dependencies

poetry install --no-root

Activate Virtual Environment

poetry shell

Leave Shell (Without exiting Virtual Environment)

deactivate

Leave Shell AND Virtual Environment

exit

Running a Command-Line Tool

poetry run ... For example: poetry run python script.py

Running Indexer

poetry run python -m apiserver.indexer


Workflow

  1. Install dependencies by running poetry install --no-root
  2. Activate environment by running poetry shell
  3. Run API by running poetry run uvicorn apiserver.main:app --reload
  4. Run client by running npm run dev --prefix web