Skip to content

This API allows you to interact with the Moon interpreter.

License

Notifications You must be signed in to change notification settings

Warn-Group/Traefik-Moon-API

 
 

Repository files navigation

Moon-API

Installation

Prerequisites

  • Python >= 3.10

Installation

git clone https://github.com/Warn-Group/Traefik-Moon-API moon-api

Global environment

  1. Install dependencies pip install -r ./requirements.txt
  2. Run the API python -m hypercorn --bind '127.0.0.1:8008' --worker-class=trio 'api/main:app_factory()'

Using venv

  1. Create venv python -m venv .venv
  2. Activate venv a. On Windows .venv\Scripts\activate b. Linux/MacOS source .venv/bin/activate
  3. Install dependencies pip install -r ./requirements.txt
  4. Run the API python -m hypercorn --bind '127.0.0.1:8008' --worker-class=trio 'api/main:app_factory()'

Using Docker

  1. docker compose up

Using Docker with Traefik

  1. docker compose -f traefik-compose.yml up -d

About

This API allows you to interact with the Moon interpreter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.7%
  • Dockerfile 10.3%