Skip to content

israelg99/task-api

Repository files navigation

TASK API

Setup

Please note that you can pick hosts in the API docs.

Also note you might get a warning on your browser about the site redirecting to https.

Dependencies

  • Python 3.8+
  • Node.js 14+

Install Go Task

$ brew install go-task/tap/go-task

Install dev tools

$ task install-dev

Usage

List the available tasks with their descriptions:

$ task list

task: Available tasks for this project:
* build: 	Build image
* deploy: 	Deploy infrastructure
* install-dev: 	Install development dependencies
* kill: 	Kill container
* print: 	Print all variables
* push: 	Push image
* run: 		Spin container and tail logs
* spin: 	Spin container
* tail: 	Tail logs
* test: 	Run tests

Call each task like so:

$ task run
$ task test
$ task deploy