Skip to content

italosousap/thecat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Cat

Python API application

installing the dependencies

command to set up the stable repository

sudo apt-get update

sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io

Usage

cd thecat/infra

#initialize docker swarm
sudo docker swarm init

#deploy stack
sudo docker stack deploy -c docker-compose.yml case

Running local, access the url 127.0.0.1:5000

If you are running in the cloud like EC2, you must update the postman collection host to the instance IP

Paths and token access are in the postman's collection

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published