This is a basic instruction on how to launch/test project locally in development environment.
You just need to install requirements:
docker
docker-compose
make
There are several commands in root Makefile:
make build
- builds project imagesmake clean
- clears all project related local data including images.make run
- starts project services in detached mode/backgroundmake run-fg
- starts project services in attached/foreground mode.
To start you need to run make run
or make run-fg
.
After all services launched you need to run make shell
. This command opens ssh session to gen3-cli dev env service container.
Dev env container Makefile has next commands:
make install
- builds wheel package and installs it using pip.make coverage
- creates tests coverage report.make tests
- tests project without coverage report.make lint
- lints projects python files.
To live test project in dev env container as cli you need to:
make install
- build and install clicot --help
- get available commands list