Loading src/climax/__main__.py +5 −2 Changes for src/climax/__main__.py: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -40,7 +40,8 @@ WEB_PORT = 8080 WEB_HOST = "localhost" BASEX_PORT = 1984 STOP_PORT = 8081 CONFIG_INIT_TEMPLATE = """<configuration env="dev" vocabulary-bundle="max-tei-bundle"> CONFIG_INIT_TEMPLATE = """<?xml version="1.0" encoding="UTF-8"?> <configuration xmlns="http://certic.unicaen.fr/max/ns/1.0" env="dev" vocabulary-bundle="max-tei-bundle"> <title>untitled</title> <languages> <language>fr</language> Loading Loading @@ -311,7 +312,7 @@ def init( + _("Initialisation d'une instance de MaX dans {}").format(root_directory) + "[/bold]" ) config_file_path = Path(root_directory, "config.xml") dot_max_dir = Path(root_directory, ".max") dot_max_dir.mkdir(parents=True, exist_ok=False) Loading Loading @@ -354,6 +355,8 @@ def init( Path(USER_DIR, "max", "src", "main", "bundles", "max-tei-bundle"), Path(dot_max_dir, "basex", "repo", "max-tei-bundle"), ) config = MaXProjectConfig(config_file_path) config.write() print( "[bold]" + _("L'instance de MaX est prête dans {}").format(root_directory) Loading Loading
src/climax/__main__.py +5 −2 Changes for src/climax/__main__.py: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -40,7 +40,8 @@ WEB_PORT = 8080 WEB_HOST = "localhost" BASEX_PORT = 1984 STOP_PORT = 8081 CONFIG_INIT_TEMPLATE = """<configuration env="dev" vocabulary-bundle="max-tei-bundle"> CONFIG_INIT_TEMPLATE = """<?xml version="1.0" encoding="UTF-8"?> <configuration xmlns="http://certic.unicaen.fr/max/ns/1.0" env="dev" vocabulary-bundle="max-tei-bundle"> <title>untitled</title> <languages> <language>fr</language> Loading Loading @@ -311,7 +312,7 @@ def init( + _("Initialisation d'une instance de MaX dans {}").format(root_directory) + "[/bold]" ) config_file_path = Path(root_directory, "config.xml") dot_max_dir = Path(root_directory, ".max") dot_max_dir.mkdir(parents=True, exist_ok=False) Loading Loading @@ -354,6 +355,8 @@ def init( Path(USER_DIR, "max", "src", "main", "bundles", "max-tei-bundle"), Path(dot_max_dir, "basex", "repo", "max-tei-bundle"), ) config = MaXProjectConfig(config_file_path) config.write() print( "[bold]" + _("L'instance de MaX est prête dans {}").format(root_directory) Loading