Run with example config and templates on http://localhost:8000/.
docker run --rm -p 8000:8000 amane/pykick
Firstly, copy pykick/pykick/example to /path/to/your/app
.
Replace all of config, template, static files with yours.
docker run --rm -p 8000:8000 -v /path/to/your/app:/app:ro amane/pykick
Or mount config
, templates
or static
directory individually.
docker run --rm -p 8000:8000 -v /path/to/your/app/config:/app/config:ro \
-v /path/to/your/app/templates:/app/templates:ro \
-v /path/to/your/app/static:/app/static:ro amane/pykick
Use Redis binding to save count.
docker run --name pykick-redis -d redis
docker run -p 8000:8000 --link pykick-redis:redis -d amane/pykick --redis_address=redis:6379
Use --help
to see all options.
docker run --rm amane/pykick --help
Install pykick with pip
.
git clone https://github.com/amane-katagiri/pykick.git
cd pykick
pip install -e
You can run pykick
to serve pykick on http://localhost:8000/ after installation. Use pykick --help
to see all options.