Skip to content

Commit c42be9c

Browse files
committed
add pocketbase init
1 parent b20896e commit c42be9c

File tree

4 files changed

+24489
-0
lines changed

4 files changed

+24489
-0
lines changed

TASKS.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Tasks
2+
3+
I want to put all the data into pocketbase and run when the html build from that
4+
5+
## run pocketbase
6+
7+
```bash
8+
docker run \
9+
--name=pocketbase \
10+
-p 8090:8090 \
11+
-v ./pb_data:/pb_data \
12+
-v ./pb_public:/pb_public \
13+
--restart unless-stopped \
14+
ghcr.io/muchobien/pocketbase:latest
15+
```
16+
17+
## create super user in docker
18+
19+
```bash
20+
/usr/local/bin/pocketbase superuser upsert EMAIL PASSWORD
21+
```
22+
23+
## start stopped container
24+
25+
```bash
26+
docker start containerid
27+
```
28+
29+
## access admin pages
30+
31+
<http://localhost:8090/\_/>

pb_data/auxiliary.db

168 KB
Binary file not shown.

pb_data/data.db

156 KB
Binary file not shown.

0 commit comments

Comments
 (0)