Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
README.md 844 B
Newer Older
  • Learn to ignore specific revisions
  • Dorian Turba's avatar
    Dorian Turba committed
    # HTTP-API
    
    ## Documentation
    
    The documentation of this project is located in confluence:
    https://beebryte.atlassian.net/wiki/spaces/AQTMN/overview?homepageId=452002085
    
    ## Installation
    
    ```bash
    pip install -r requirements.txt
    ```
    
    Define the following environment variables:
    
    ```bash
    CONFLUENCE_API_KEY=<your api key>;
    CONFLUENCE_DOMAIN=beebryte.atlassian.net;
    CONFLUENCE_PATH=/wiki/;
    CONFLUENCE_SPACE_KEY=AQTMN;  # The space key of the space to which pages belongs
    CONFLUENCE_USER_NAME=<your username>;
    ```
    
    ## Usage
    
    ```bash
    python -m md2conf .
    ```
    
    ## Pre-commit hooks
    
    Please use the pre-commit hooks provided in this repository to maintain consistency in
    the codebase.
    
    ### Setup
    
    ```bash
    pip install --upgrade pip
    pip install pre-commit
    pre-commit install
    pre-commit autoupdate
    ```
    
    ### Manual use
    
    ```bash
    pre-commit run --all-files
    ```