Commit 156c7ab3 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

use demo config

parent 4bdcb735
Loading
Loading
Loading
Loading
+4 −4
Changes for src/climax/__main__.py: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -451,6 +451,10 @@ def demo():
            Path(USER_DIR, "max", "fixtures", "autoroute"), Path(cur_dir, "autoroute")
        )

        shutil.copy(
            Path(USER_DIR, "max", "fixtures", "config.xml"), Path(cur_dir, "config.xml")
        )

        shutil.copy(
            Path(
                USER_DIR,
@@ -481,10 +485,6 @@ def demo():
            Path(cur_dir, ".max", "basex", "webapp", "max", "content-html.xqm"),
        )

        ## Don't overwrite config
        # shutil.copy(
        #    Path(USER_DIR, "max", "fixtures", "config.xml"), Path(cur_dir, "config.xml")
        # )
        print("[green]" + _("édition de démonstration installée") + "[/green]")
        print(_("Vous pouvez démarrer MaX avec la commande [bold]climax start[/bold]"))