python-for-devops-2022
YouTube Python Devops Tutorial with Noah Gift
You can get a copy of the book here.
You can view the full YouTube video here.
- Colab Notebook: Here is an example of how to use Colab
- Makefile
- Requirements.txt
- test_library.py
- python_library
- Dockerfile
- CLI
- Microservices
* touch Makefile
* touch requirements.txt
* mkdir devopslib && touch devopslib/__init__.py
* touch hello.py && touch test_hello.py
* python3 -m venv .venv
* source ~/.venv/bin/activate
* vim ~/.bashrc
* source ~/.venv/bin/activate
* clone project and run `make all`
- Create CLI with pyhton fire
- run pyhton hello.py with flag --beverage muffins
- run pyhton main.py
- Go to http://localhost:8080/docs to view Swagger Documentation
- Using AWS App Runner and CodeBuild