deploying django - including third party apps

105 views
Skip to first unread message

luke lukes

unread,
Apr 25, 2012, 11:14:58 AM4/25/12
to django...@googlegroups.com
hi everyone. i'm developing a simple CRUD django app and my idea is to host it on a free web hosting site that supports django (e.g. alwaysdata.com or heliohost.org). I havent tried locally to deploy it on a web server such as Apache, i've alway used the development server by manage.py runserver. Now i'm using third application on it: reportlab (for pdf generation), django-evolution (for models changes). well these apps are installed via apt-get (i'm using ubuntu as host system) or by getting the packages from their own sites and installing them by setup.py install. Now i've checked on alwaysdata.com and reportlab is installed, but seems there's no django_evolution. what i have to do to include it in my app and to get it working?

thanx
LuKe

Daniel Sokolowski

unread,
Apr 25, 2012, 10:32:01 PM4/25/12
to django...@googlegroups.com
If you have shell access you could do a virtualenv/pip combo install.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ebNCfRv5ozYJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
 
Daniel Sokolowski
Web Engineer
KL Insight
http://klinsight.com/

luke lukes

unread,
Apr 26, 2012, 3:37:09 AM4/26/12
to django...@googlegroups.com

Hi Daniel. yes I have ssh access but without root or sudo privileges. it seems there's no virtualenv installed. i've tried to install virtualenv with 'pip install virtualenv' but i got this error: error: /usr/local/lib/python2.6/site-packages/virtualenv.py: Permission denied
any help?

Il giorno giovedì 26 aprile 2012 04:32:01 UTC+2, Daniel Sokolowski ha scritto:
If you have shell access you could do a virtualenv/pip combo install.
 
From: luke lukes
Sent: Wednesday, April 25, 2012 11:14 AM
Subject: deploying django - including third party apps
 
hi everyone. i'm developing a simple CRUD django app and my idea is to host it on a free web hosting site that supports django (e.g. alwaysdata.com or heliohost.org). I havent tried locally to deploy it on a web server such as Apache, i've alway used the development server by manage.py runserver. Now i'm using third application on it: reportlab (for pdf generation), django-evolution (for models changes). well these apps are installed via apt-get (i'm using ubuntu as host system) or by getting the packages from their own sites and installing them by setup.py install. Now i've checked on alwaysdata.com and reportlab is installed, but seems there's no django_evolution. what i have to do to include it in my app and to get it working?
 
thanx
LuKe
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ebNCfRv5ozYJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Thomas Rega

unread,
Apr 26, 2012, 3:55:47 AM4/26/12
to lordl...@gmail.com, django...@googlegroups.com
Am 26.04.12 09:37, schrieb luke lukes:

Hi Daniel. yes I have ssh access but without root or sudo privileges. it seems there's no virtualenv installed. i've tried to install virtualenv with 'pip install virtualenv' but i got this error: error: /usr/local/lib/python2.6/site-packages/virtualenv.py: Permission denied
any help?


Hi,

may be this helps:

wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.1.2.tar.gz#md5=3be8a014c27340f48b56465f9109d9fa
tar xzvf virtualenv-1.7.1.2.tar.gz
cd virtualenv-1.7.1.2
python setup.py install --user

further informations:
http://docs.python.org/install/index.html

good luck
TR


Il giorno giovedì 26 aprile 2012 04:32:01 UTC+2, Daniel Sokolowski ha scritto:
If you have shell access you could do a virtualenv/pip combo install.
 
From: luke lukes
Sent: Wednesday, April 25, 2012 11:14 AM
Subject: deploying django - including third party apps
 
hi everyone. i'm developing a simple CRUD django app and my idea is to host it on a free web hosting site that supports django (e.g. alwaysdata.com or heliohost.org). I havent tried locally to deploy it on a web server such as Apache, i've alway used the development server by manage.py runserver. Now i'm using third application on it: reportlab (for pdf generation), django-evolution (for models changes). well these apps are installed via apt-get (i'm using ubuntu as host system) or by getting the packages from their own sites and installing them by setup.py install. Now i've checked on alwaysdata.com and reportlab is installed, but seems there's no django_evolution. what i have to do to include it in my app and to get it working?
 
thanx
LuKe
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ebNCfRv5ozYJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
 
Daniel Sokolowski
Web Engineer
KL Insight
http://klinsight.com/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/OpqO0uGG2gkJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
Message has been deleted

Mike Ryan

unread,
Apr 26, 2012, 9:54:27 AM4/26/12
to Django users
If he can't install virtualenv (permission denied), he will have
problems copying his modules to the dist/site-packages dir. Also, this
method of manually copying is (no offence meant :-) ) rather hacky,
and probably not good advice in most situations. Thomas Rega's
suggestion of installing virtualenv locally, then installing his
modules in to this local virtualenv, is the cleanest idea for someone
without root permissions. Great tip, I didn't know about install --
user.

On Apr 26, 12:03 pm, kamagatos <kamaga...@gmail.com> wrote:
> You don't absolutely need virtualenv/pip to perform this task. Just get
> your 3rd party apps from /usr/local/lib/python2.X/dist-packages/ (if you
> are using ubuntu) and copy them at the root of your hosting python path. It
> should do the thing.
> good luck

Shawn Milochik

unread,
Apr 26, 2012, 10:15:47 AM4/26/12
to django...@googlegroups.com
There's no reason a user couldn't run virtualenv, regardless of permissions.

Download the virtualenv tarball and extract it. It contains a file named
virtualenv.py.

Done.

Run python virtualenv.py some_path and it will work.


Babatunde Akinyanmi

unread,
Apr 27, 2012, 6:51:23 PM4/27/12
to django...@googlegroups.com
Asides Shawn's answer, alwaysdata's documentation educates how to
install packages on the host
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

--
Sent from my mobile device
Reply all
Reply to author
Forward
0 new messages