Parameterisation of python settings

This commit is contained in:
James Pattinson
2025-10-25 15:27:32 +00:00
parent 77b5080bbd
commit b2a6545ace
4 changed files with 37 additions and 20 deletions

View File

@@ -40,12 +40,12 @@ cd nextgen
- **Public Web Interface**: http://localhost:8082
- **Admin Interface**: http://localhost:8082/admin.html
- **Reports Interface**: http://localhost:8082/reports.html
- **Database**: localhost:3307 (user: ppr_user, password: ppr_password123)
- **Database**: localhost:3307 (user: ppr_user, password: [configured in .env])
- **phpMyAdmin**: http://localhost:8083
### 3. Default Login
- **Username**: admin
- **Password**: admin123
- **Password**: [configured in database - see init_db.sql]
## API Endpoints
@@ -129,12 +129,7 @@ uvicorn app.main:app --reload
# Connect to database
docker exec -it ppr_nextgen_db mysql -u ppr_user -p ppr_nextgen
# View logs
docker-compose logs -f api
docker-compose logs -f db
# Restart services
docker-compose restart
# When prompted for password, use the value from .env (DB_PASSWORD)
```
### Testing