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 configureYou are now ready to use thrap.
Start by initializing a new project:
$ mkdir my-project
$ cd my-project
$ thrap stack initThis 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 buildThis starts all necessary services, builds all containers, exiting after all head containers have completed building.
Once built, deploy your project:
$ thrap stack deployCheck the status of your stack:
$ thrap stack status$ make deps$ make test$ make thrapBinary called thrap (built to be compatible with the system it was run on)
will be available in this folder
$ make distBinaries will be available in the dist folder.
A fully containerized build can be run as follows:
docker build -t thrap -f < /path/to/dockerfile > .