Skip to content

Repository files navigation

DevOps

github-pages

A collection of notes, resources, documentation and POCs mainly related to distributed systems for local development, learning purposes and quick prototyping.

Development

Ubuntu

# install pip3
sudo apt install -y python3-pip
# OLD install virtualenv globally 
sudo pip3 install virtualenv
# OLD create virtualenv
virtualenv -p $(which python3) venv
# create virtualenv
python3 -m venv venv
# how-to activate virtualenvsource venv/bin/activate
# verify virtualenv
which python
python --version
# how-to deactivate virtualenv
deactivate
# install new package
pip install mkdocs
# update requirements
pip freeze > requirements.txt
# run locally# http://localhost:8000
mkdocs serve