mirror of
https://github.com/chatmail/relay.git
synced 2026-06-14 23:51:09 +00:00
add webdev sub command
This commit is contained in:
@@ -66,12 +66,12 @@ def _build_webpages(src_dir, build_dir, config):
|
||||
|
||||
|
||||
def main():
|
||||
chatmail_domain = "example.testrun.org"
|
||||
path = importlib.resources.files(__package__)
|
||||
reporoot = path.joinpath("../../../").resolve()
|
||||
inipath = reporoot.joinpath("chatmail.ini")
|
||||
config = read_config(inipath, mailname=chatmail_domain)
|
||||
config["webdev"] = True
|
||||
config = read_config(inipath)
|
||||
config.webdev = True
|
||||
assert config.mailname
|
||||
www_path = reporoot.joinpath("www")
|
||||
src_path = www_path.joinpath("src")
|
||||
stats = None
|
||||
|
||||
Reference in New Issue
Block a user