doc tweaks, feedback from #195
This commit is contained in:
		
							parent
							
								
									61d97201a5
								
							
						
					
					
						commit
						0757c99f01
					
				|  | @ -13,18 +13,18 @@ become an issue. | ||||||
| TubeSync supports SQLite (the automatic default) as well as PostgreSQL, MySQL and | TubeSync supports SQLite (the automatic default) as well as PostgreSQL, MySQL and | ||||||
| MariaDB. For MariaDB just follow the MySQL instructions as the driver is the same. | MariaDB. For MariaDB just follow the MySQL instructions as the driver is the same. | ||||||
| 
 | 
 | ||||||
| You should a blank install of TubeSync. Migrating to a new database will reset your | You should start with a blank install of TubeSync. Migrating to a new database will | ||||||
| database. If you are comfortable with Django you can export and re-import existing | reset your database. If you are comfortable with Django you can export and re-import | ||||||
| database data with: | existing database data with: | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
| $ docker exec -ti tubesync python3 /app/manage.py dumpdata > some-file.json | $ docker exec -i tubesync python3 /app/manage.py dumpdata > some-file.json | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Then change you database backend over, then use | Then change you database backend over, then use | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
| $ cat some-file.json | docker exec -ti tubesync python3 /app/manage.py loaddata --format=json - | $ cat some-file.json | docker exec -i tubesync python3 /app/manage.py loaddata --format=json - | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| As detailed in the Django documentation: | As detailed in the Django documentation: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue