This guide describes how to set up and run a simple project using cliboa.
Before getting started, ensure your environment meets the following requirements:
- OS: macOS or Linux distribution
- Package Manager: Poetry must be installed.
Note
This guide demonstrates the setup using Poetry. If you prefer other package managers (e.g., uv, rye), please adapt the installation and execution commands to suit your environment.
Follow these steps to set up a sample project and verify the installation.
Create a new directory for your project and navigate into it.
mkdir cliboa-quickstart
cd cliboa-quickstartInitialize a new poetry project. You can press Enter to accept the default values for the prompts.
poetry initAdd cliboa to your project dependencies.
poetry add cliboaInitialize the directory structure for cliboa. This creates the cb_app directory.
poetry run cliboadmin init -a cb_appCreate a sample project named test_project.
poetry run cliboadmin pj -p test_projectExecute the project using the cliboa_run.py script.
poetry run python cb_app/cliboa_run.py test_projectIf the installation and execution were successful, you will see the Hello cliboa! message printed to your standard output.