summaryrefslogtreecommitdiff
path: root/README.md
blob: 23d4f134fdb1fb9c70e29ddf0aeda49d50635cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# FastForge

FastForge is a Pebble watchapp for intermittent fasting tracking, built with the Rebble SDK.

## Day-1 Setup (Fedora + Rebble SDK 4.9+)

```bash
sudo dnf update
sudo dnf install -y python3-pip nodejs SDL-devel dtc uv just
uv tool install pebble-tool --python 3.13
export PATH="$HOME/.local/bin:$PATH"
pebble sdk install latest
```

## After Reboot

```bash
export PATH="$HOME/.local/bin:$PATH"
pebble --version
```

## Development Workflow

```bash
cd /path/to/fastforge
export PATH="$HOME/.local/bin:$PATH"
just dev
```

In a second terminal:

```bash
cd /path/to/fastforge
export PATH="$HOME/.local/bin:$PATH"
just logs
```

Useful commands:

- `just`: list commands
- `just dev`: build + install to basalt emulator
- `just logs`: live logs from basalt emulator
- `just screenshot`: screenshot from basalt emulator
- `just kill`: stop emulator
- `just clean`: remove build artifacts