Add admin management features and MongoDB setup scripts
- Created .vscode/settings.json for Python environment configuration. - Added run.sh script for MongoDB installation and project setup. - Implemented admin chat interface in admin_chats.html. - Developed invoice management interface in admin_invoices.html. - Created license management interface in admin_licenses.html. - Added support ticket management interface in admin_tickets.html. - Implemented user management interface in admin_users.html. - Developed user chat interface in chat.html. - Created user invoice overview in my_invoices.html. - Developed user license overview in my_licenses.html. - Added support ticket creation and tracking in tickets.html. - Created test.sh script for MongoDB setup.
This commit is contained in:
@@ -40,10 +40,10 @@ if settings_path.is_file():
|
||||
version_file.write_text(f"{version}\n", encoding="utf-8")
|
||||
print(f"Prepared {version_file} with version: {version}")
|
||||
PY
|
||||
python -m nuitka --standalone --follow-imports --include-data-dir=templates=templates --include-data-dir=static=static --include-data-file=licenses.json=licenses.json --assume-yes-for-downloads --output-dir=Inventarsystem_Lizenz_Verwaltung --remove-output main.py
|
||||
if [[ -x "./Inventarsystem_Lizenz_Verwaltung/main.bin" ]]; then
|
||||
./Inventarsystem_Lizenz_Verwaltung/main.bin
|
||||
python -m nuitka --standalone --follow-imports --include-data-dir=templates=templates --include-data-dir=static=static --include-data-file=licenses.json=licenses.json --assume-yes-for-downloads --output-dir=build --remove-output main.py
|
||||
if [[ -x "./build/main.bin" ]]; then
|
||||
./build/main.bin
|
||||
else
|
||||
echo "Build step finished but executable not found at ./Inventarsystem_Lizenz_Verwaltung/main.bin"
|
||||
echo "Build step finished but executable not found at ./build/main.bin"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user