dsql-admin/README.md

45 lines
902 B
Markdown
Raw Permalink Normal View History

2024-11-05 11:16:21 +00:00
# Datasquirel Admin
PHP myadmin on steroids
2024-11-05 14:47:45 +00:00
## 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
```
2024-11-05 18:44:43 +00:00
5. To run in detached mode run
```bash
npm run docker-prod:detached
```
2024-11-05 14:47:45 +00:00
### 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.