No description
Kumi
0601a39829
Introduced a development mode toggle for the app, which, when enabled, displays a distinctive warning on every page to inform users they are viewing a development version of the site. This warning is styled for clear visibility. Development mode is toggled with a new `--dev` command line argument or by setting an environment variable. The change aims to prevent confusion between the development and production environments for both developers and early users. - Added new CSS rules for a warning alert style in `base.css`. - Modified `main.py` to check for a development mode flag and pass a warning message to the template if the flag is set. - Updated `base.html` to include the warning message when present. - Added a new template for the development warning message. |
||
---|---|---|
assets | ||
contrib | ||
templates | ||
.gitignore | ||
LICENSE | ||
main.py | ||
README.md | ||
requirements.txt | ||
services.json |
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.