Thanks Bruce. I understand a bit. Can you please give an example of the script that you'd use in init.d? I am not so expert like in satchmo and maybe with an example I can understand.
Thanks, Shakthi On Sun, Dec 7, 2008 at 1:39 AM, Bruce Kroeze <[EMAIL PROTECTED]> wrote: > On Sat, Dec 6, 2008 at 11:58 AM, Shankar Dhanasekaran < > [EMAIL PROTECTED]> wrote: > >> Hi Bruce, >> I created a project as outlined in your blog post. It works very well but >> I couldnt understand the uses of different folders, except for the templates >> folder. Please can you explain why I would need these folders (marked in >> yellow, the who /etc folder with all its content) and how I can use them as >> intended? >> >> storename/ >> __init__.py >> local_settings.py >> manage.py >> settings.py >> bin/ >> (here are various scripts you may use for testing or whatever) >> etc/ >> >> init.d/ >> storename >> >> sysconfig/ >> storename >> >> > When you roll out the live site, you will need an init script to put in > /etc/init.d so that the store can auto-start, reboot, etc. > > I prefer to keep those files under version control in my site directory and > then symlink them into place on the server. My standard > /etc/init.d/storename script refers to variables it expects to find at > /etc/sysconfig/storename. > > Make sense? > > --- > Bruce Kroeze > http://gosatchmo.com > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
