remove any reference to old json db file
This commit is contained in:
parent
53b9acf83d
commit
b0cddc81fe
@ -6,7 +6,6 @@ out/
|
|||||||
data/uploads/*
|
data/uploads/*
|
||||||
!data/uploads/sample.jpg
|
!data/uploads/sample.jpg
|
||||||
data/db/*
|
data/db/*
|
||||||
!data/db/slideshow.json.dist
|
|
||||||
/plugins/user/*
|
/plugins/user/*
|
||||||
!/plugins/user/.gitkeep
|
!/plugins/user/.gitkeep
|
||||||
*.lock
|
*.lock
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,7 +6,6 @@ out/
|
|||||||
data/uploads/*
|
data/uploads/*
|
||||||
!data/uploads/sample.jpg
|
!data/uploads/sample.jpg
|
||||||
data/db/*
|
data/db/*
|
||||||
!data/db/slideshow.json.dist
|
|
||||||
/plugins/user/*
|
/plugins/user/*
|
||||||
!/plugins/user/.gitkeep
|
!/plugins/user/.gitkeep
|
||||||
*.lock
|
*.lock
|
||||||
|
|||||||
@ -1,37 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"keys": [
|
|
||||||
"duration",
|
|
||||||
"enabled",
|
|
||||||
"location",
|
|
||||||
"name",
|
|
||||||
"position",
|
|
||||||
"type",
|
|
||||||
"cron_schedule",
|
|
||||||
"cron_schedule_end",
|
|
||||||
"created_by",
|
|
||||||
"updated_by",
|
|
||||||
"created_at",
|
|
||||||
"updated_at"
|
|
||||||
],
|
|
||||||
"data": {
|
|
||||||
"0": {
|
|
||||||
"location": "data/uploads/sample.jpg",
|
|
||||||
"duration": 10,
|
|
||||||
"type": "picture",
|
|
||||||
"enabled": true,
|
|
||||||
"name": "Picture Sample",
|
|
||||||
"position": 0,
|
|
||||||
"cron_schedule": null
|
|
||||||
},
|
|
||||||
"1": {
|
|
||||||
"location": "https://unix.org",
|
|
||||||
"duration": 20,
|
|
||||||
"type": "url",
|
|
||||||
"enabled": true,
|
|
||||||
"name": "URL Sample",
|
|
||||||
"position": 1,
|
|
||||||
"cron_schedule": null
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -58,9 +58,6 @@ source ./venv/bin/activate
|
|||||||
# you'll need to install brew and execute command `brew install sqlite3`
|
# you'll need to install brew and execute command `brew install sqlite3`
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
# Add some sample data
|
|
||||||
cp data/db/slideshow.json.dist data/db/slideshow.json
|
|
||||||
|
|
||||||
# Customize server default values
|
# Customize server default values
|
||||||
cp .env.dist .env
|
cp .env.dist .env
|
||||||
```
|
```
|
||||||
|
|||||||
@ -72,9 +72,6 @@ python3 -m venv venv
|
|||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
# Add some sample data
|
|
||||||
cp data/db/slideshow.json.dist data/db/slideshow.json
|
|
||||||
|
|
||||||
# Customize server default values
|
# Customize server default values
|
||||||
cp .env.dist .env
|
cp .env.dist .env
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user