Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Flask installation environment     - PHP generates a random password several ways (Programming)

- PostgreSQL Source Customization: Online global read only (Database)

- Oracle DATABASE LINK (DBLINK) Create (Database)

- Based shell: using read, the command-line script to achieve mass participation and input two integer calculation (Programming)

- Linux Tutorial Share: How to sudo command to define the PATH environment variable (Linux)

- DOM event handlers add notes (Programming)

- Linux network cut package is not fully defragment (Linux)

- Delay for the specified IP port analog network to send and receive packets on Linux (Linux)

- Moosefs Distributed File System Configuration (Server)

- Hadoop new and old version of the difference in the size of the InputSplit (Server)

- Oracle physical storage structure outline (Database)

- Ease of use "Explain Shell" script to understand Shell command (Linux)

- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)

- Configuring LIDS build Linux kernel security intrusion detection system (Linux)

- How to use nmap command in Linux (Linux)

- MyCAT read and write separation of MySQL (Database)

- Construction CA certificate using OpenSSL command line (Server)

- An Example of GoldenGate Extract Process Hang Problem Solving (Database)

- Linux can modify the maximum number of open files (Linux)

- How to install Ubuntu California - the calendar application (Linux)

 
         
  Flask installation environment
     
  Add Date : 2018-11-21      
         
         
         
  Flask need to install python2.5 or later, does not currently support python3, which wsgi standard has not been finalized;

First, install virtualenv, for each pyhton applications "install" a separate python environment;
Using the command: sudo easy_install virtualenv
Or higher: sudo pip install virtualenv
In under Ubuntu: sudo apt-get install python-virtualenvsome code

Two, virtualenv use:
$ Mkdir myproject
$ Cd myproject
$ Virtualenv env // Create a directory called env, and this directory is a separate python environment
. $ Env / bin / activate // activation environment named env, pay attention to the point about the space behind. "";
// Each first activate the corresponding environment related development progress;
some code

Three, Flask installation, use the following command:
$ Easy_install Flask
some code

In addition, with the git retrieval methods, install the latest Flask:
$ Git clone http://github.com/mitsuhiko/flask.git // download the installation file
$ Cd flask
$ Virtualenv xxx
$. Xxx / bin / activate
$ Python setup.py develop
some code
     
         
         
         
  More:      
 
- wget command usage Explanation (Linux)
- Weld a problem in JDK 8u60 environment (Programming)
- grep command Series: grep command to search for multiple words (Linux)
- OpenNMS separate database (Server)
- Ubuntu 15.10 How to install TeamViewer 11 (Linux)
- printf PHP string operations () built-in function usage (Programming)
- MariaDB 10.1 and MySQL 5.7 in general performance on commodity hardware (Database)
- Fedora 22 users to install the VLC media player (Linux)
- Oracle 11g can not export a variety of empty table solution (Database)
- About enhanced Linux / Unix server system security program (Linux)
- Gentoo: startx problem appears Failed to load module (Linux)
- Find details block device with Linux blkid command (Linux)
- OpenSSL to generate public and private key (Linux)
- Will Laravel become the most successful PHP framework? (Programming)
- Schema snapshot rollback (Database)
- Nginx Load Balancing (standby) + Keepalived (Server)
- 11 examples in Linux df command (Linux)
- Pydev installed and configured on the Eclipse (Linux)
- HAProxy Windows version of the compiler and its application in the CORS (Server)
- TL-WR703N to install OpenWrt process notes (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.