Skip to content

ViPerson95/Training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Community News and Events

This project provides a simple Flask-based web application to share community news and upcoming events. When the app starts, it randomly generates demo news articles and events so you can see sample content right away.

Setup

  1. Create a virtual environment and activate it.
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the application:
    python app.py

The application will be available at http://localhost:5000.

To register for any event, click the Register link next to that event. The registration form saves your name and email to a local SQLite database (registrations.db).

The default styles use a green color palette and subtle geometric pattern inspired by Islamic art.

Project Structure

.
├── app.py           # main Flask application
├── requirements.txt # Python dependencies
├── static/          # CSS and other static assets
└── templates/       # HTML templates

When you run app.py, Flask looks in the templates/ folder for the HTML files and serves assets from the static/ folder. The index route in app.py generates sample news and events each time the page loads so you can see how the site will look with real content.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published