Updating docker entrypoint to initialize the database
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
2. **Edit `.env` with your configuration:**
|
||||
- Set `IGDB_CLIENT_ID` and `IGDB_SECRET_KEY` (required)
|
||||
- Set `ROMS_PATH` to your ROM collection directory
|
||||
- Set `DOSVAULT_ADMIN_USERNAME` to you admin username
|
||||
- Set `DOSVAULT_ADMIN_EMAIL` to your admin email
|
||||
- Set `DOSVAULT_ADMIN_PASSWORD` to your admin password
|
||||
- Optionally customize host/port settings
|
||||
|
||||
3. **Start the application:**
|
||||
@@ -58,7 +61,7 @@ Configuration changes made through the web interface are automatically persisted
|
||||
|
||||
### Initialize Database
|
||||
```bash
|
||||
docker-compose exec dosvault python src/migrate.py db-init
|
||||
docker-compose exec dosvault python src/migrate.py init
|
||||
```
|
||||
|
||||
### Run Migrations
|
||||
@@ -106,4 +109,4 @@ docker-compose exec dosvault bash
|
||||
```bash
|
||||
docker-compose down -v
|
||||
docker-compose up -d
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user