I cleared everything out and started clean...
Now I am stuck at this with your instructions.
mkvirtualenv web2py
it gives me...
[redwings]$ mkvirtualenv web2py
-bash: virtualenv: command not found
[redwings]$ 
Any ideas?
---
Best Regards,
Jason Brower


On Sat, 2009-08-15 at 17:21 +0200, MišoLietavec wrote:
> I sent this to Jason, what is wrong with this approach?
> At least he will have the minimal web2py instalation ready in little time...
> 
> ---------- Forwarded message ----------
> 
> 
> Hi, Jason,
> 
>   I have the Dreamhost account, also. I feel that installing and
> deploying web2py here is not an easy task. Let us see, what works for
> me as for now.
> 
>  I am not installing my own Python copy, use virtualenv and virtualenvwrapper.
> All i did, is here (assuming You are in home directory):
> 
> 
> mkdir bin
> 
> in .bash_profile add:
> PATH=$HOME/bin:$PATH
> (You will have python and another executables in ~/bin)
> 
> You need to:
> 
> source .bash_profile
> (or logout and login again).
> 
> get 
> http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.3.3.tar.gz
> tar xzf virtualenv-1.3.3.tar.gz
> 
> 
> python2.5 virtualenv-1.3.3/virtualenv.py $HOME
> (THIS python2.5 should be system python executable, i. e. /usr/bin/python2.5)
> rm -fr virtualenv-1.3.3
> 
> easy_install virtualenvwrapper
> 
> mkdir .virtualenvs
> (in this directory You will keep all virtual environments)
> 
> in .bash_profile add:
> export WORKON_HOME=$HOME/.virtualenvs
> source $HOME/bin/virtualenvwrapper_bashrc
> -----------------------------------------------------------
> 
> easy_install Flup
> (this will call $HOME/bin/easy_install with Your python, $HOME/bin/python)
> 
> mkvirtualenv web2py
> 
> 
> workon web2py
> ( You will see the changed prompt:  (web2py)[capone]$ in my case)
> (jumping out of virtualenv is done by deactivate, if You need that)
> 
> wget http://www.web2py.com/examples/static/web2py_src.zip
> 
> cdsitepackages
> 
> (it is equivalent to cd .virtualenvs/web2py/lib/python2.5/site-packages)
> unzip  ~/web2py_src.zip
> 
> python web2py.py -i 67.205.29.115 -p 8080
> (this is the ip of my domain; the default port 8000 was
> unavailable, thus I choose another)
> 
> and use webbrowser:
> 
> http://yourIP:8080
> 
> Of course, You do not have administrative interface, see the wiki page
> You mentioned...
> If You get any further, I will be glad to hear from You :-)
> 
> Michal
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to