Skip to content

Commit

Permalink
add pocketbase init
Browse files Browse the repository at this point in the history
  • Loading branch information
darjeeling committed Dec 22, 2024
1 parent b20896e commit c42be9c
Show file tree
Hide file tree
Showing 4 changed files with 24,489 additions and 0 deletions.
31 changes: 31 additions & 0 deletions TASKS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Tasks

I want to put all the data into pocketbase and run when the html build from that

## run pocketbase

```bash
docker run \
--name=pocketbase \
-p 8090:8090 \
-v ./pb_data:/pb_data \
-v ./pb_public:/pb_public \
--restart unless-stopped \
ghcr.io/muchobien/pocketbase:latest
```

## create super user in docker

```bash
/usr/local/bin/pocketbase superuser upsert EMAIL PASSWORD
```

## start stopped container

```bash
docker start containerid
```

## access admin pages

<http://localhost:8090/\_/>
Binary file added pb_data/auxiliary.db
Binary file not shown.
Binary file added pb_data/data.db
Binary file not shown.
Loading

0 comments on commit c42be9c

Please sign in to comment.