项目作者: niqdev

项目描述 :
DevOps
高级语言: Shell
项目地址: git://github.com/niqdev/devops.git
创建时间: 2017-11-29T18:47:54Z
项目社区:https://github.com/niqdev/devops

开源协议:

下载


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

  1. # install pip3
  2. sudo apt install -y python3-pip
  3. # install virtualenv globally
  4. sudo pip3 install virtualenv
  5. # create virtualenv
  6. virtualenv -p $(which python3) venv
  7. # how-to activate virtualenv
  8. source venv/bin/activate
  9. # verify virtualenv
  10. which python
  11. python --version
  12. # how-to deactivate virtualenv
  13. deactivate
  14. # install new package
  15. pip install mkdocs
  16. # update requirements
  17. pip freeze > requirements.txt
  18. # run locally
  19. # http://localhost:8000
  20. mkdocs serve