dt-demo script
Vlad Skvortsov
vss at 73rus.com
Sat Jul 5 14:04:06 PDT 2008
David Wolever wrote:
> One of the things that turned me onto Roundup was the 'roundup-demo'
> script which, in one command, creates a fake environment and starts up
> a server so you can see exactly what it's like.
Hmm, yes, that might be helpful to some users, I think. However, may be
we should make dt-createdb script more intelligent or interactive
(optionally), so that most of the stuff is filled up automatically?
>
> I've written something similar for dt (attached).
Btw, the $PATH won't actually be updated by the script, since the
current shell terminates and it can't affect the environment of the
parent process.
You might just print instructions (exact command) to user to update the
path (however, it's shell-dependent...)
>
> Note that it's not particularly robust, and it has to manually fix a
> bug (where the 'format' file isn't being `svn add`ed), but it's better
> than typing all the stuff by hand.
Ah! Thanks for spotting that, I've opened i#205 to fix it.
--
Vlad Skvortsov, vss at 73rus.com, http://vss.73rus.com
More information about the Dev
mailing list