User Tools

Site Tools


oonirasponaberrypi-virtualenv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
oonirasponaberrypi-virtualenv [2013/03/03 12:32]
EI 8 FDB
oonirasponaberrypi-virtualenv [2013/11/01 13:33] (current)
Line 2: Line 2:
 **NB:** You may need to logout to allow virtualenv package to create required files shown below. **NB:** You may need to logout to allow virtualenv package to create required files shown below.
  
-In home directory run: +Install virtualenv tools 
- +<​code>​ 
-<​code>​mkdir $HOME/​.virtualenvs +  * sudo apt-get install python-virtualenv virtualenvwrapper 
-mkvirtualenv ooni-probe+  * mkdir $HOME/​.virtualenvs ​(you then need to log-out or reload your shell to get access to next command) 
 +  ​* ​mkvirtualenv ooni-probe
  
 mkvirtualenv ooni-probe mkvirtualenv ooni-probe
Line 18: Line 19:
 virtualenvwrapper.user_scripts creating /​home/​pi/​.virtualenvs/​ooni-probe/​bin/​postactivate virtualenvwrapper.user_scripts creating /​home/​pi/​.virtualenvs/​ooni-probe/​bin/​postactivate
 virtualenvwrapper.user_scripts creating /​home/​pi/​.virtualenvs/​ooni-probe/​bin/​get_env_details virtualenvwrapper.user_scripts creating /​home/​pi/​.virtualenvs/​ooni-probe/​bin/​get_env_details
 +</​code>​
 +
 +  * Add line to .bashrc
 +  * Add line to $HOME/​.virtualenvs/​ooni-probe/​bin/​postactivate ​
 +
  
 **To work on ooni-probe later on, run:** **To work on ooni-probe later on, run:**
 +<​code>​
 pi@raspberrypi ~ $ workon ooni-probe pi@raspberrypi ~ $ workon ooni-probe
 </​code>​ </​code>​
oonirasponaberrypi-virtualenv.txt · Last modified: 2013/11/01 13:33 (external edit)