- Building Web Applications with Flask
- Italo Maia
- 172字
- 2021-07-16 14:13:03
Prerequisites and tools
First, let's make sure our environment is properly configured. For this course, I assume you are using a Debian-like Linux distribution, such as Mint (http://www.linuxmint.com/) or Ubuntu (http://ubuntu.com/). All the instructions will be geared towards these systems.
Let's begin by installing the required Debian packages with apt-get
as follows:
sudo apt-get install python-dev python-pip
This will install the Python development tools and libraries required for compiling Python packages, and pip: a neat tool you can use to install Python packages from the command line. On with it! Let's install our virtual environment managing tool:
sudo pip install virtualenvwrapper echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
To explain what we just did: sudo
tells our OS that we want administrative privileges to run the next command, and pip
is the default Python package management tool and helps us install the virtualenvwrapper
package. The second command statement adds a command to load the virtualenvwrapper.sh
script together with the console, so that commands work inside your shell (we'll be using it, by the way).
- Redis入門指南(第3版)
- Python測試開發入門與實踐
- Django Design Patterns and Best Practices
- Blender 3D Incredible Machines
- Learning Apache Kafka(Second Edition)
- iOS開發實戰:從入門到上架App Store(第2版) (移動開發叢書)
- Python青少年趣味編程
- TypeScript圖形渲染實戰:2D架構設計與實現
- Docker on Windows
- 面向物聯網的Android應用開發與實踐
- 測試架構師修煉之道:從測試工程師到測試架構師(第2版)
- RabbitMQ Essentials
- Scratch 3少兒交互式游戲編程一本通
- Mastering Social Media Mining with R
- Apple Watch極速開發