Skip to content

Latest commit

 

History

History
82 lines (51 loc) · 2.05 KB

README.md

File metadata and controls

82 lines (51 loc) · 2.05 KB

👋 Junction Move 38

🪧 Description

Welcome to Junction Move 38!

🚀 Basic Usage

import app

📚 Documentation

To launch documentation:

mkdocs serve

👉 Then go to http://localhost:8000

📦 Installation

After cloning the repo, you can install the package using pip or poetry:

🐍 Using Pip

pip install .

🌹 Using Poetry

poetry install

🏗️ Development

🐋 Devcontainer Environment

It is possible to have a development environment up an ready using Docker and vscode:

devcontainer_gif

  1. Install remote containers in VSCode.

    1. Press Ctrl+P
    2. Paste ext install ms-vscode-remote.remote-containers
    3. Press Enter
  2. Run the docker in development in VSCode (wait, first time takes some time to run) :

    F1 > Open Folder in Container
    Select the desired folder (backend, frontend...)

It automatically searches for de .devcontainer/devcontainer.json file in the root folder. To apply changes made to the dockerfile or the devcontainer.json:

F1 > Rebuild Container

👍 It will install automatically app in development mode and all the pre-commit hooks along all the tools needed for a correct development: black, isort, pylint, mypy, pytest...

🧑‍⚖️ Pre-Commit

In order to keep code and commits quality we enforce the use of pre-commit by doing:

pre-commit install

This will install a bunch of hooks that will check staged files (only the *.py staged files) to check that they stick to black, autopep8, isort and some other standards.

🙋 Author

🙋 Name: Move38

📩 Email: [email protected]