15 lines
388 B
Markdown
15 lines
388 B
Markdown
# dx 4
|
|
|
|
### run
|
|
- frontend `bun dev --host`
|
|
- backend `cd ./backend-php/; ./dev.ps1` or `cat ./dev.ps1 | sh` if you are in other os
|
|
|
|
### 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` and `API_PATH` in `admin_api.php` |