Hi Alaa,
   Well, to start my turbogears app I access my host by SSH and
navigate to the "path of my app" and I write in the shell this
command:

    python start-app.py &

  This start the CherryPy server , but if the host re-start  or
reboot ?, I ever repeat this process ? exists a way to automatize this
process? (initiate the My App(CherryPy automatically).

  I wait to have been more clearly (my english is terrible).

  Thanks.

On May 19, 12:13 pm, "Alaa Salman" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can you specify what do you mean by "initiate the TurboGears automatically"?
> You only need to start it once and leave it running.
>
> In regards to your second question, these two links might be 
> helpful.http://docs.turbogears.org/1.0/BehindApachehttp://tools.cherrypy.org/wiki/BehindApache
>
> Regards,
> Alaa Salman
>
> On 5/19/07, Leandro Severino <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> >     somebody can help me?
>
> > On May 17, 7:55 pm, Leandro Severino <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >    (I'm sorry by my terrible english, I don't write or speak english
> > > every day).
> > >    I have a website hosted in a webhost company where I have a 'Apache
> > > Plan' with support to Python and PostgreSQL. In this webhost I have
> > > shell access by SSH as a 'simple user'(I don't have root permissions),
> > > full permissions only in my home folder.
> > >    I followed this steps ( of the FAQ page:
> >http://docs.turbogears.org/FAQ
> > > ):
> > > "....
> > > How can I install TurboGears on a Unix-like system without root user
> > > priviledges?
>
> > > An easy and quick way is to use the working.py script to create a
> > > separate, clean Python environment and install TurboGears in this
> > > environment. The basic steps are:
>
> > >        1. Download workingenv.py. ( I made the download in my home
> > > folder, ex.: /home/lstecnologia )
> > >        2. Run python workingenv.py <new env dir> ( new pyApp )
> > >        3. source <new env dir>/bin/activate ( /home/lstecnologia/pyApp/
> > > bin/activate )
> > >        4. Download tgsetup.py and run python tgsetup.py.
> > >        5. Install additional eggs, like nose, pysqlite, SQLObject,
> > > SQLAlchemy, etc. with easy_install <package name>
>
> > > <new env dir> is the name of a directory that workingenv.py should
> > > create, that will contain the new Python environment. Everytime you
> > > want to work with that environment, you need to carry out step 3. from
> > > above, so that the library mdoules and scripts from the environment
> > > are used.
>
> > > ..."
>
> > >     I changed the default port to 8888 and now I have the TurboGears
> > > installed and running in my ''simple user' account.
>
> > >     Well,
> > >          I have two questions:
>
> > >          - how I can initiate the TurboGears automatically? without
> > > needing to access by  SSH my account in the webhost and write in the
> > > prompt:
> > >                    python start-MyProject.py &
> > >          - How a redirect the pages to port 80, for example,
> >http://develop.lstecnologia.com.br:8888tohttp://develop.lstecnologia....
> > > ?
>
> > > Somebody can help-me with  a 'Step-By-Step' or some link / reference ?
>
> > > Thanks !
>
> > > Leandro Severino.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to