No description
Kumi
61de9ec81b
Refactored the Flask application to generate a static site instead of running as a dynamic web app. Added a CI workflow to build and deploy the static site on pushes to the 'static' branch. - Replaced Flask route handling with a function that generates HTML files using Jinja2 templates. - Modified the argparse logic to trigger the static site generation. - Updated the .gitignore file to exclude the build directory. - Created a Forgejo Actions workflow to automate the build and deploy process. This change improves performance and reduces server overhead by serving pre-rendered static content. |
||
---|---|---|
.forgejo/workflows | ||
.vscode | ||
assets | ||
contrib | ||
data | ||
helpers | ||
templates | ||
.gitignore | ||
LICENSE | ||
main.py | ||
README.md | ||
requirements.txt |
Private.coffee Website
This is the source code for the 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.
Development
To run the website locally, you will need to have Python 3 installed. Then, you can install the dependencies and run the website with the following commands:
pip install -r requirements.txt
python main.py
The website will be available at http://localhost:9810
.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Attribution
This website is built using the Bootstrap framework and Phosphor Icons.