Skip to content

Quetaro is a job queue system using SQS, Lambda and PostgreSQL.

Notifications You must be signed in to change notification settings

quetarohq/quetaro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log

Quetaro is a job queue system using SQS, Lambda and PostgreSQL.

test

System Architecture

cf. https://github.com/quetarohq/quetaro/tree/main/_etc/terraform

Getting Started for local

Start docker-compose

$ docker compose up

Create AWS resources to LocalStack

$ make tf-init
$ make tf-apply

NOTE: When docker-compose is stopped, LocalStack resources will disappear. After restarting docker-compose, run make tf-apply restart again.

Setup DB

$ make db

Restart daemons

$ make restart

Send a message

$ make message
# or `make failure`

Browse DB

Open http://localhost:8081/

Getting Started for AWS

Create AWS resources

$ cd _etc/terraform/
$ terraform workspace new aws
$ terraform init
$ terraform apply

Start docker-compose for AWS

$ docker compose -f compose.aws.yml up

Setup DB

$ make db

Send a message

$ make message-for-aws
# or `make failure-for-aws`

Run tests

$ docker compose up localstack db
$ make tf-init
$ make tf-apply
$ make db
$ make test