You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple web-application in flask for society-management and accounting system.
Login Page
Notice Board
Bill Page {mobile view}
Configurations:
Activate the virtual environment
# TRAVEL TO THE PROJECT DIRECTORY IN YOUR TERMINAL
./venv/bin/activate
#OR
source venv/bin/activite
#OR
venv/bin/activate
Install all the dependencies to your virtual environment
pip3 install -r dependencies.txt
Create database onto your local mysql-server
Open mysql shell and fire the following queries
#IF DATBASE EXISTS, YOU MIGHT HAVE TO DETELE AND RE-CREATE ITDELETE DATABASE society_mysqldb;
CREATEDATABASEsociety_mysqldb;
exit;
Run the following command in terminal to create your databse as per your .sql file
mysql -u root -p society_mysqldb < society_mysqldb.sql
To run the flask server
export FLASK_APP=start.py
# to run the flask-server on debug-modeexport FLASK_DEBUG=1
# to run the flask-server on production-modeexport FLASK_DEBUG=0
#if the above line doesn't work, use :
python3 -m flask run --host=0.0.0.0:5000
#OR
python3 -m flask run
#host is optional, and should not matter unless you want to test the application on a physical device on your network.
To save dependencies list in your dependencies.txt file