Add Manual-Import-Data
parent
8c9ac45641
commit
8008e93304
1 changed files with 24 additions and 0 deletions
24
Manual-Import-Data.-.md
Normal file
24
Manual-Import-Data.-.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
### Manual Import Data
|
||||||
|
|
||||||
|
It is possible to import data from saved gallery-dl json files
|
||||||
|
|
||||||
|
- **Step 1:** Make sure that you are in the root folder of the project.
|
||||||
|
|
||||||
|
- **Step 2:** Make sure to activate the python environment.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
source ./venv/bin/activate
|
||||||
|
```
|
||||||
|
|
||||||
|
- **Step 3:** Change directory to `./archivist`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd ./archivist
|
||||||
|
```
|
||||||
|
|
||||||
|
- **Step 4:** Import the json data and media file from gallery-dl
|
||||||
|
replace `<path>` with the path of the folder or json file to import
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python manage.py import_data <path>
|
||||||
|
```
|
Loading…
Reference in a new issue