-
Notifications
You must be signed in to change notification settings - Fork 0
Running
This guide explains how to run the SeriesScape application after you have successfully completed the Setup Guide.
The project provides convenient scripts to start the application. These scripts check that migrations are up-to-date and launch the Flask development server.
-
Open your Terminal:
- Windows: Open Command Prompt or PowerShell.
- Linux/macOS: Open your preferred terminal application.
-
Navigate to the project root directory (e.g.,
cd path/to/SeriesScape). -
Execute the run script:
-
Windows:
scripts\run.bat
-
Linux/macOS:
bash scripts/run.sh
(Make it executable first if needed:
chmod +x scripts/run.sh, then./scripts/run.sh)
-
The script will output progress messages and end with something like:
Flask development server started!
Access at: http://127.0.0.1:5000
Press CTRL+C to quit.
* Running on http://127.0.0.1:5000
If you prefer to run commands directly:
-
Apply any pending database migrations:
-
Windows (PowerShell):
$env:FLASK_APP = "apps/desktop/src/core" .venv\Scripts\flask.exe db upgrade
-
Linux/macOS:
export FLASK_APP="apps/desktop/src/core" .venv/bin/flask db upgrade
-
-
Start the Flask development server:
-
Windows:
.venv\Scripts\flask.exe run -
Linux/macOS:
.venv/bin/flask scripts/run
-
Once the server is running, open your web browser and go to:
You should see the SeriesScape application. Press Ctrl+C in the terminal to stop the server.