Skip to content

Commit bf36a7c

Browse files
committed
Add arcanechat.me website
1 parent 916011f commit bf36a7c

34 files changed

+2715
-4
lines changed

cmdeploy/src/cmdeploy/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from pathlib import Path
1111

1212
from chatmaild.config import Config, read_config
13-
from pyinfra import host, facts
13+
from pyinfra import facts, host
1414
from pyinfra.facts.files import File
1515
from pyinfra.facts.systemd import SystemdEnabled
1616
from pyinfra.operations import apt, files, pip, server, systemd
@@ -649,9 +649,8 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None:
649649

650650
www_path = importlib.resources.files(__package__).joinpath("../../../www").resolve()
651651

652-
build_dir = www_path.joinpath("build")
653-
src_dir = www_path.joinpath("src")
654-
build_webpages(src_dir, build_dir, config)
652+
subprocess.check_output(["pnpm", "build"], cwd=www_path.joinpath("arcanechat"))
653+
build_dir = www_path.joinpath("arcanechat/dist")
655654
files.rsync(f"{build_dir}/", "/var/www/html", flags=["-avz"])
656655

657656
_install_remote_venv_with_chatmaild(config)

www/arcanechat/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

www/arcanechat/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm-lock.yaml

www/arcanechat/LICENSE.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
This project is based on a **HTML Codex** template, original license notice below:
2+
3+
=> FREE HTML TEMPLATE LICENSE BY HTML Codex
4+
5+
All free HTML templates by HTML Codex are licensed under a Creative Commons Attribution 4.0 International License which means you are not allowed to remove the author�s credit link/attribution link/backlink.
6+
7+
When you download or use our free HTML templates, it will attribute the following conditions.
8+
9+
10+
=> YOU ARE ALLOWED
11+
12+
1. You are allowed to use for your personal and commercial purposes.
13+
14+
2. You are allowed to modify/customize however you like.
15+
16+
3. You are allowed to convert/port for use for any CMS.
17+
18+
4. You are allowed to share/distribute under the HTML Codex brand name.
19+
20+
5. You are allowed to put a screenshot or a link on your blog posts or any other websites.
21+
22+
23+
=> YOU ARE NOT ALLOWED
24+
25+
1. You are not allowed to remove the author�s credit link/attribution link/backlink without purchasing Credit Removal License ( https://htmlcodex.com/credit-removal ).
26+
27+
2. You are not allowed to sell, resale, rent, lease, license, or sub-license.
28+
29+
3. You are not allowed to upload on your template websites or template collection websites or any other third party websites without our permission.
30+
31+
This license can be terminated if you breach any of these conditions.
32+
33+
Please contact us (https://htmlcodex.com/contact) if you have any query.
34+
35+
=> PURCHASE CREDIT REMOVAL LICENSE ( https://htmlcodex.com/credit-removal )

www/arcanechat/README.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This project is based on a **HTML Codex** template, original README notice below:
2+
3+
=> Template Name : FitApp - Mobile App HTML Template
4+
5+
=> Template Link : https://htmlcodex.com/mobile-app-html-template
6+
7+
=> Template License : https://htmlcodex.com/license (or read the LICENSE.txt file)
8+
9+
=> Template Author : HTML Codex
10+
11+
=> Author Website : https://htmlcodex.com
12+
13+
=> About HTML Codex : HTML Codex is one of the top creators and publishers of Free HTML templates, HTML landing pages, HTML email templates and HTML snippets in the world. Read more at ( https://htmlcodex.com/about-us )
5.15 KB
Loading

www/arcanechat/img/bg-bottom.png

19.6 KB
Loading

www/arcanechat/img/bg-top.png

19.6 KB
Loading

www/arcanechat/img/contact.svg

Lines changed: 96 additions & 0 deletions
Loading
2.39 KB
Loading

0 commit comments

Comments
 (0)