talk-python-in-production-devops-book
No description available.
File Explorer
Download Latest Version (.zip)- Dockerfile
- Dockerfile
- app.py
- granian.conf
- requirements.piptools
- requirements.txt
- .dockerignore
- Dockerfile
- compose.yaml
- readme.md
- Dockerfile
- Dockerfile
- compose.yaml
- placeholder.md
- .dockerignore
- Dockerfile
- compose.yaml
- dot-env-template.sh
- video-collector.nginx
- compose.yaml
- dot-env-template.sh
- local-nginx.conf
- build_containers.sh
- create-docker-compose-service.sh
- deploy.sh
- update-images.sh
- update-source.sh
- zshrc
- README.md
- setup-host-server.sh
- README.md
- 03-01-workload-talkpython-apps.png
- 05-01-architecture-tiers.png
- 05-02-granian-lots-of-granian.png
- 06-01-server-tree.png
- 06-02-events-chart.png
- 06-03-uptime-kuma.png
- 06-04-status-talkpython.png
- 07-01-btop-dashboard.jpg
- 07-02-btop-options.jpg
- 07-03-glances.jpg
- 07-04-docker-cluster-monitor.jpg
- 10-01-cdn-pops.jpg
- 10-02-bunny-stats.png
- 11-01-hetzner-projects.png
- 11-02-bash-basics.png
- 11-03-bash-basics.pngohmyzsh-completion.png
- 11-04-pls-listing.png
- 11-05-docker-layers.png
- 11-06-docker-compose-output-base-images.png
- 11-07-video-collector.png
- 11-08-build-video-collector.png
- 11-09-running-video-collector.png
- 11-10-service-status.png
- 11-11-nginx-up.png
- 11-12-deploy-output.png
- 12-01-hugo.png
- 12-02-berkmansolutions-1.png
- 12-03-berkmansolutions-2.png
- 12-04-berkmansolutions-3.png
- 12-05-mkennedy-codes.png
- 12-06-talk-python-blog.png
- 13-01-frameworks.png
- 13-02-webapp-to-quart.png
- 13-03-quart-to-async.png
- 14-01-other-podcast.jpg
- 14-02-us-podcast.jpg
- 14-03-courses.jpg
- 14-04-live-youtube.jpg
- 14-05-live-site.jpg
- 14-06-twitter-share.jpg
- 15-01-hetzner-dashboard.png
- 15-02-hetzner-server.png
- 15-03-bandwidth-and-cpu-compared.png
- 16-01-cloud-native-diagram-final.png
- 16-01-stack-native-final.png
- 16-01-stack-native-to-scale-final.png
- README.md
- readme.md
- devops-book-web-hero.webp
- .gitignore
- change-log.md
- LICENSE
- README.md
- ruff.toml
- WARP.md
# Installation Guide
1. Get the code
git clone https://github.com/mikeckennedy/talk-python-in-production-devops-book
Downloads the entire project code from GitHub to your computer.
cd talk-python-in-production-devops-book
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker compose -f book/ch08-docker-performance-tips/faster-docker-example/compose.yaml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
pip install -r book/ch08-docker-performance-tips/faster-docker-example/webapp/src/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
