Parameterisation of python settings
This commit is contained in:
11
README.md
11
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user