Before starting development, you need to install the following tools:
Tool | Version | Description |
---|---|---|
Docker | - | Container virtualization platform |
Docker Compose | - | Management of multiple Docker containers |
Python | 3.12.4 | Python programming language |
Pyenv (Optional) | - | Python version management tool |
Poetry | - | Python dependency management tool |
To start development, clone the repository and install dependencies:
git clone https://github.com/oqtopus-team/oqtopus-cloud.git
Aqua is a tool that supports project management. For more details, check here.
To install Aqua, run the following command:
make setup-aqua
To verify the environment, run the following command:
make doctor
After running the above steps, you will get output similar to the following:
make doctor
Checking the environment...
Aqua version: aqua version 2.29.0 (9ff65378f0c6197e3130a20f6d978b8a3042b463)
Python version: Python 3.12.4
Poetry version: Poetry (version 1.8.3)
Docker version: Docker version 26.1.4, build 5650f9b
To install Python 3.12.4, run the following command:
pyenv install 3.12.4
Next, set the Python version to 3.12.4:
pyenv local 3.12.4
To use the Python version installed with Pyenv, run the following command:
poetry env use ~/.pyenv/shims/python
To set up the Python environment, run the following command:
poetry config virtualenvs.in-project true
Next, install the dependencies:
poetry install
This will create a .venv
in the root directory.
To start the documentation server, run the following command:
make run
Then, check the documentation at http://localhost:8000.