Thrap is a tool accelerate the software development process by automating common tasks and simpifying various integration points
The following are required for thrap:
- Docker (api version >= 1.37)
Download the appropriate binary based on your platform from here and copy it into your path:
$ mv thrap /usr/local/bin/
The commnand below will perform the initial configuration asking questions as needed.
$ thrap configure
You are now ready to use thrap.
Start by initializing a new project:
$ mkdir my-project
$ cd my-project
$ thrap stack init
This will create the initial set of base files and configurations.
Once the project is initialized, you can make code changes as needed. When ready, the project stack can be built using the following command:
$ thrap stack build
This starts all necessary services, builds all containers, exiting after all head containers have completed building.
Once built, deploy your project:
$ thrap stack deploy
Check the status of your stack:
$ thrap stack status
$ make deps
$ make test
$ make thrap
Binary called thrap
(built to be compatible with the system it was run on)
will be available in this folder
$ make dist
Binaries will be available in the dist
folder.
A fully containerized build can be run as follows:
docker build -t thrap -f < /path/to/dockerfile > .