Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 593 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 593 Bytes

Nee-co Imagen

install & usage

git clone [email protected]:nhac/imagen.git
pip install -r imagen/imagen/requirements.freeze
pip install gunicorn
cd imagen/
export PYTHONPATH=`pwd`
cd imagen/
gunicorn -b 0.0.0.0:8000 app:app

Docker

git clone [email protected]:nhac/imagen.git
cd imagen/
docker build --tag=imagen --no-cache .
docker run -d -p 8000:8000 imagen
Environment Variables
IMAGEN_PORT

default: 8000

gunicorn port number

######IMAGEN_WORKERS

default: 10

gunicorn The number of worker processes for handling requests.