feat: automatic db creation and migration

This commit is contained in:
2026-08-28 16:32:25 +03:00
parent 114ba523f4
commit 4fbb8a8e2e
9 changed files with 104 additions and 120 deletions
+5 -2
View File
@@ -6,6 +6,7 @@
- make sure that you have `pdo_sqlite`
- oonix `chmod +x ./dev.sh` and then `./dev.sh`
- uindos `cat ./dev.sh | iex` in poersel
- for production generate dist with `./bundle.sh`
### IMPORTANT
@@ -14,5 +15,7 @@
- dx4dashboard
- change `base` in `vite.config.ts`
- change `API_BASE_URL` and `CLIENT_FRONTEND_URL` in `src/App.jsx`
- backend
- change `ADMIN_PASS` and `API_PATH` in `admin_api.php`
- **backend !!**
- change `ADMIN_PASS` and `API_PATH` in `admin_api.php`
- change `$password` in `adm/phpliteadmin.config.php`
- **block http requests to `data.db`!!!**