Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.99 KB

File metadata and controls

63 lines (49 loc) · 1.99 KB

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 virtualenv
source 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