This project is a Flask-based application for managing and displaying real-time waiting lists. It features an operator view for queue management and a public display view for sharing the list. Follow the steps below to install and use the system. DOWNLOAD ZIP LINK - https://projects.ahmad-mahrous.com/waiting-list.zip
Before getting started, ensure you have the following installed on your machine:
You can find the download at https://projects.ahmad-mahrous.com/waiting-list.zip Run the below command in your terminal:
cd waiting-list-system
It’s recommended to use a virtual environment to keep dependencies isolated:
python -m venv venv
source venv/bin/activate # On Windows, use venv\Scripts\activate
Install the required Python packages:
pip install -r requirements.txt
Run the application using the following command:
sudo python app.py
Note: Port 80 requires superuser privileges; hence, use
sudo
if on a Unix-like system. If you do not have superuser, you can try to run the command without sudo, it works on some computers.
Once the server is running, you can access the application in your browser:
http://localhost/
The operator view is used to manage the waiting list:
The display view shows the current waiting list for a selected station:
app.py
file by modifying the stations
dictionary.static/styles.css
to change the appearance of the application.host
and port
in app.run()
(default is 0.0.0.0:80
).If you have any issues, email me at me@ahmad-mahrous.com!