# dx 4

### run
- frontend `bun dev --host` 
- backend `cd ./backend-php/`
  - 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

- main
  - change `API_BASE_URL` in `src/App.jsx`
- dx4dashboard
  - change `base` in `vite.config.ts`
  - change `API_BASE_URL` and `CLIENT_FRONTEND_URL` in `src/App.jsx`
- **backend !!**
  - change `ADMIN_PASS` in `admin_api.php`
  - change `$password` in `adm/phpliteadmin.config.php`
  - **block http requests to `data.db`!!!**