docs and support for simulating app store

This commit is contained in:
John Hess 2025-02-18 11:47:24 -06:00
parent fbc0d2b742
commit 5657869faa
3 changed files with 23 additions and 1 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ vendor/bundle
.DS_Store
Gemfile.lock
usb-butter*
simulated-usb-butter/appstore/*

15
README.md Normal file
View file

@ -0,0 +1,15 @@
# Butter Box UI
Run locally:
`bundle exec jekyll serve`
## Dummy USB UI
In addition to running the main UI locally, you can also simulate a USB drive having been inserted. To do so, make a suitable directory tree available at `usb-butter` by running:
`cp -r simulated-usb-butter usb-butter`
Of course, this is just the UI layer, but it lets you work with the JS and CSS without needing a real box running.
You can take this a step further and simulate an fdroid webdash content pack. Use `fdroid-webdash-butter` with a sample app store or the wind-repo. See `App Store.md`

View file

@ -41,6 +41,12 @@ layout: empty
<td class="s">- &nbsp;</td>
<td class="t">Directory</td>
</tr>
<tr class="d">
<td class="n"><a href="appstore/">appstore</a>/</td>
<td class="m">2025-Feb-17 12:05:54</td>
<td class="s">- &nbsp;</td>
<td class="t">Directory</td>
</tr>
<tr class="d">
<td class="n"><a href="Learn/">Learn</a>/</td>
<td class="m">2024-Jun-12 14:58:54</td>