dsql-admin/README.md
2024-11-05 19:44:43 +01:00

45 lines
902 B
Markdown

# Datasquirel Admin
PHP myadmin on steroids
## How to setup
1. Clone the repo
```bash
git clone https://git.tben.me/Moduletrace/dsql-admin.git
```
2. change dir into the new directory
```bash
cd dsql-admin/dsql-app
```
3. Copy `test.env` to `.env` and edit the file with your preferred credentials
```bash
cp test.env .env
```
4. Run the docker compose stack
```bash
npm run docker-prod
```
5. To run in detached mode run
```bash
npm run docker-prod:detached
```
### Notes
- Mariadb typically takes some time to startup, when it starts up the admin site can fire up. If it doesn't start up at first simply stop the stack and start again using `npm run docker-prod`.
### Admin Panel
After successful setup the admin panel is now located at `http://localhost:7070`. The static server is running at `http://localhost:7072`.
That is assuming you didn't edit the ports in the `.env` file.