Skip to content

PokeMate/image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-generator

Installation

Without Docker

Create a virtualenv and activate it:

python3 -m venv venv
. venv/bin/activate

Or windows:

py -3 -m venv venv
venv\Scripts\activate.bat

Install all the dependencies.

pip3 install -r requirements.txt

Start the API

python3 api/main.py

With Docker

Build the Docker container.

docker build -t image-generator .

Run the docker container and map the internal port to external port

docker run -p 5001:5001/tcp image-generator

Swagger

Endpoints are documented using Swagger. To access the interactive documentation got to:

/swagger

About

API for generating new Pokemon images

Resources

Stars

Watchers

Forks

Packages

No packages published