Major updates: Setup environment, database, permissions and admin access
- Created virtual environment and installed requirements - Set up MariaDB database with user 'sa' and database 'recticel' - Created order_for_labels table for printing functionality - Implemented role-based permissions system with admin role - Added admin access to print label modules and etichete functionality - Fixed template routing issues in main_page_etichete.html - Updated app to run on port 8781 with network access (0.0.0.0) - Added systemd service file for background deployment - Created installation documentation
This commit is contained in:
@@ -2,10 +2,10 @@ import mariadb
|
||||
|
||||
# Database connection credentials
|
||||
DB_CONFIG = {
|
||||
"user": "trasabilitate",
|
||||
"password": "Initial01!",
|
||||
"user": "sa",
|
||||
"password": "12345678",
|
||||
"host": "localhost",
|
||||
"database": "trasabilitate_database"
|
||||
"database": "recticel"
|
||||
}
|
||||
|
||||
def recreate_order_for_labels_table():
|
||||
|
||||
Reference in New Issue
Block a user