1.7 KiB
1.7 KiB
LEGO Instructions Manager - Startup Scripts
Quick Start
-
First Time Setup:
- Double-click
start_lim.batto test if the application starts correctly - This will create a virtual environment and install all dependencies
- Double-click
-
Set Up Automatic Startup:
- Right-click
setup_startup.batand select "Run as Administrator" - This will configure Windows to start the application automatically when you log in
- Right-click
Files Included
start_lim.bat
Main startup script that:
- Creates a Python virtual environment if it doesn't exist
- Installs/updates all required dependencies from requirements.txt
- Initializes the database if needed
- Starts the Flask application
setup_startup.bat
Configuration script that:
- Creates a Windows Task Scheduler entry
- Sets the application to run at user logon
- Requires Administrator privileges
Manual Startup
To manually start the application, simply double-click start_lim.bat
Removing Automatic Startup
To stop the application from starting automatically, open Command Prompt as Administrator and run:
schtasks /delete /tn "LEGO Instructions Manager" /f
Troubleshooting
If the application fails to start:
- Check that Python is installed and in your PATH
- Ensure you have internet connectivity for dependency installation
- Verify the E:\LIM directory exists and contains the application files
- Check the Flask application logs in the console window
Notes
- The application will run in a console window - don't close this window or the app will stop
- To access the application, open your browser and go to http://localhost:5000
- The virtual environment and dependencies are stored in E:\LIM\venv\