Skip to content

jameslinjl/pokedex-pokeapi-memcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pokedex-pokeapi-memcache

Playing around with flask, pokeapi, memcached, and docker as a teaching tool for beginner web development.

  1. Install docker for your particular machine: https://docs.docker.com/engine/installation/

  2. Build the docker image for the app from inside the repo:

docker build -t <YOUR_DOCKER_HUB_USERNAME>/pokedex-pokeapi-memcache .
  1. Make sure to configure memcached for docker:
docker pull memcached # pull the remote memcached docker image
docker run --name my-memcache -d memcached # start running memcached in a container
  1. Start running the app using docker:
docker run -p 8888:5000 --link my-memcache:memcache <YOUR_DOCKER_HUB_USERNAME>/pokedex-pokeapi-memcache
  1. Visit the local app running in container at localhost:8888.

About

basic flask app, creating a basic UI around pokeapi with memcache caching

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published