Re: how to deploy django project to lighttpd server

2013-01-07 Thread Jonas Geiregat
I have several account on djangoeurope.com.

What I mostly do is like you did, create a new project using their admin 
interface.

Next I backup the RUN script and delete that directory completely! The I 
checkout my project code, just make sure the project you are checking out (or 
copying) has the same name as the project you created in the admin interface.

Copy the RUN file back, for you development startup. 

Next thing you'll probably need to do is edit the ~/init/project_name file

If you are using virtualenv the DAEMON line and point it to the python binary 
of the env you which to use.
For example: DAEMON=$HOME/Envs/project/bin/python

You might also want to change the SETTINGS to point to your production settings 
or whatever.

If you want to serve static files you should take a look in 
~/lighthttp/django.conf.
For each project created an entry has been added to this file.
Just make sure the directories are setup correctly.

That should be all and you should now be able to start your project 

~/init/project_name start

Good luck!


> Hi there, 
> 
> i am stumbling over this step: i have django project running at my pc local, 
> i want to deploy it to server to see it online. I have bought the hosting 
> service from djangoeurope.com. they have that one-click django installer, it 
> installs the environment with its lighttpd settings. now i dont know where to 
> upload my django files and where to set and how to get it running,
> 
> in the server i have this files which are installed by one-click django 
> installer: 
> under ~/projectname
> projectname, projectname.pid, projectname.sock, manage.py, RUN
> 
> do i have to upload here? 
> 
> thanks a lot for help in advance
> 
> -- 
> 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/-/U8n69IPW0kgJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.

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



how to deploy django project to lighttpd server

2013-01-04 Thread doniyor
Hi there, 

i am stumbling over this step: i have django project running at my pc 
local, i want to deploy it to server to see it online. I have bought the 
hosting service from djangoeurope.com. they have that one-click django 
installer, it installs the environment with its lighttpd settings. now i 
dont know where to upload my django files and where to set and how to get 
it running,

in the server i have this files which are installed by one-click django 
installer: 
under ~/projectname
*projectname, projectname.pid, projectname.sock, manage.py, RUN*

do i have to upload here? 

thanks a lot for help in advance

-- 
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/-/U8n69IPW0kgJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.