- 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).
- Expert C++
- 自制編譯器
- Java高手真經(高級編程卷):Java Web高級開發技術
- Web Application Development with R Using Shiny(Second Edition)
- 匯編語言程序設計(第2版)
- Scratch真好玩:教小孩學編程
- Hands-On C++ Game Animation Programming
- Java程序設計
- The DevOps 2.5 Toolkit
- 常用工具軟件立體化教程(微課版)
- Learning Concurrency in Kotlin
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- 軟件項目管理實用教程
- Extending Unity with Editor Scripting
- Web編程基礎:HTML5、CSS3、JavaScript(第2版)