Normalize game_data line endings and document WSL development.

This commit is contained in:
2026-06-22 16:06:50 +02:00
parent abdeab59e7
commit a1cd1ad0af
3 changed files with 24 additions and 3 deletions
+19
View File
@@ -28,12 +28,31 @@ A web viewer for backups of the Android game **[Idle Fantasy](https://github.com
## Installation
### Windows (PowerShell)
```powershell
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
```
### WSL (recommended for deploy)
Keep the repo on the Linux filesystem (not `/mnt/c/`) to avoid CRLF/git/deploy issues between Windows and WSL:
```bash
# one-time clone or copy to e.g. ~/source/idle-fantasy-viewer
cd ~/source/idle-fantasy-viewer
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```
Open in **Cursor**: *File → Open Folder in WSL…*`~/source/idle-fantasy-viewer`
Windows path (Explorer): `\\wsl.localhost\Ubuntu-24.04\home\markus\source\idle-fantasy-viewer`
Run tests, dev server, and `bash scripts/deploy.sh` from the same WSL shell.
## Usage
### Start server and import a backup