feat: update README and asset paths for static site generation
All checks were successful
Build and Deploy Static Site / build (push) Successful in 1m0s

Switched the project description from a Flask application to a Jinja2 static website generator. Adjusted asset links in the base template to be relative, enhancing portability and simplifying deployments. These changes aim to better reflect the project's current architecture and usage.
This commit is contained in:
Kumi 2024-07-01 10:50:00 +02:00
parent b27ace9cb0
commit 69ef1f7a1a
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 8 additions and 6 deletions

View file

@ -5,8 +5,9 @@
This is the source code for the [Private.coffee](https://private.coffee)
website.
It is a simple Flask application that generates the HTML for the website based
on the services defined in the `services.json` file.
It is a simple Jinja2 static website generator that compiles the templates in
the `templates` directory in conjunction with the JSON files in the `data`
directory to generate the static HTML files in the `build` directory.
## Development
@ -18,7 +19,8 @@ pip install -r requirements.txt
python main.py
```
The website will be available at `http://localhost:9810`.
The website will be built into the `build` directory, and you can view it by
opening the `index.html` file in your browser.
## License

View file

@ -11,8 +11,8 @@
content="width=device-width, initial-scale=1.0, shrink-to-fit=no"
/>
<title>{% block title %}{% endblock %} - Private.coffee</title>
<link rel="stylesheet" href="/assets/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="/assets/css/base.css" />
<link rel="stylesheet" href="assets/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/base.css" />
</head>
<body>
@ -24,7 +24,7 @@
<div class="row d-lg-flex align-items-lg-center">
<div class="col p-0">
<a href="/"
><img src="/assets/img/logo-inv_grad.svg" style="height: 60px"
><img src="assets/img/logo-inv_grad.svg" style="height: 60px"
/></a>
</div>
<div class="col d-flex">