remove any reference to old json db file

This commit is contained in:
jr-k 2024-05-18 20:09:04 +02:00
parent 53b9acf83d
commit b0cddc81fe
5 changed files with 0 additions and 45 deletions

View File

@ -6,7 +6,6 @@ out/
data/uploads/*
!data/uploads/sample.jpg
data/db/*
!data/db/slideshow.json.dist
/plugins/user/*
!/plugins/user/.gitkeep
*.lock

1
.gitignore vendored
View File

@ -6,7 +6,6 @@ out/
data/uploads/*
!data/uploads/sample.jpg
data/db/*
!data/db/slideshow.json.dist
/plugins/user/*
!/plugins/user/.gitkeep
*.lock

View File

@ -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
}
}
}

View File

@ -58,9 +58,6 @@ source ./venv/bin/activate
# you'll need to install brew and execute command `brew install sqlite3`
pip install -r requirements.txt
# Add some sample data
cp data/db/slideshow.json.dist data/db/slideshow.json
# Customize server default values
cp .env.dist .env
```

View File

@ -72,9 +72,6 @@ python3 -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
# Add some sample data
cp data/db/slideshow.json.dist data/db/slideshow.json
# Customize server default values
cp .env.dist .env
```