Search code examples
tracsample-data

How can I disable the sample data in trac


I just created my first trac project, but I don't want the sample data, how can I disable that.

I read the documentation and there is the wiki remove command. do I have to use this for all pages? Are there easy way to disable the sample wiki?


Solution

  • Modification of the behavior of trac-admin <path_to_env> initenv seems not even worth the hassle, because you only need to type

    trac-admin <path_to_env> wiki remove '*'

    into a system terminal to get rid of all default Trac wiki pages. You'll see a list of all deleted page names for confirmation. But you always make a db copy before messing with the db anyway, don't you?