Thanks Diez
I am able to go upto some distance but again got stuck. I will
describe wht I have done.
cd ../tg2_offline
virtualenv tg2env
source tg2env/bin/activate
easy_install -i tg2_offline TurboGears2
everything went smoothly upto here. After that I try using 'paster
quickstart' command, but it is not having that quickstart.
paster --help shows only tg-info part
$paster --help
Usage: paster [paster_options] COMMAND [command_options]
Options:
--version show program's version number and exit
--plugin=PLUGINS Add a plugin to the list of commands (plugins are
Egg
specs; will also require() the Egg)
-h, --help Show this help message
Commands:
create Create the file layout for a Python distribution
help Display help
make-config Install a package and create a fresh config file/
directory
points Show information about entry points
post Run a request for the described application
request Run a request for the described application
serve Serve the described application
setup-app Setup an application, given a config file
TurboGears2:
tginfo Show TurboGears 2 related projects and their versions
Thanks in advance.
On Aug 18, 11:56 am, "Diez B. Roggisch" <[email protected]> wrote:
> alind schrieb:
>
>
>
> > I want to install tg2 on an offline machine.
> > I have downloaded all the eggs using this command:
>
> > mkdir tg2_offline
> > cd tg2_offline
> > easy_install -zmaxd . TurboGears2
>
> > Now as the docs suggest I should copy this directory (tg2_offline)
> > into the offline machine and run
> > cd tg2_offline
> > easy_install -f . TurboGears
>
> > Now I dont want a system wide installation. I want to set up the
> > virtualenv environent just like done by this command on online
> > machine.python tg2-bootstrap.py --no-site-packages tg2env
>
> > python tg2-bootstrap.py --no-site-packages tg2env
>
> I don't think this works. But it shouldn't be hard to install:
>
> - create the virtualenv yourself, using "virtualenv tg2env". of course
> you need the virtualenv-egg as well, and that must be installed
> beforehand! Generelly, you need setuptools installed, if that's not on
> your machine, I'm not sure how to do that.
>
> - use easy_install with a "-i" option with a file-url that points to
> your egg-dir, that *should* work. If it doesn't, then you should be able
> to do "easy_install *.egg" inside the egg-dir also.
>
> Diez
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---