Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ source virtualenvwrapper.sh
mkvirtualenv rango
workon rango
```
2.5 fix error (after source virtualenvwrapper.sh) : Python could not import the module virtualenvwrapper.hook_loade:
```

whereis virtualenvwrapper.sh
cd <virtualenvwrapper.sh_path>
vi virtualenvwrapper.sh
```
2.5.1 find VIRTUALENVWRAPPER_PYTHON= , change it into VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3.
```
source virtualenvwrapper.sh
```
3. install django:`pip3 install -U django==1.9.10`
## nginx and uwsgi configuration
1. install nginx: `sudo apt-get install nginx`
Expand Down