update README with flatpak build instructions

This commit is contained in:
Dovi Cowan 2022-02-17 17:45:57 +00:00
parent 1b2e221fd0
commit b7ab6ee660
No known key found for this signature in database
GPG key ID: 90EF4BCEFEE7D2BD

View file

@ -23,7 +23,36 @@
</p> </p>
## Install from Github. ## Install from Github
### With FlatPak
Install the [elementaryOS developer enviroment](https://docs.elementary.io/develop/writing-apps/the-basic-setup#developer-sdk)
Install dependencies
```
sudo apt install libwebkit2gtk-4.0-dev
```
Clone and enter repository
```
git clone https://github.com/artemanufrij/webpin.git
cd webpin
```
Build with `flatpak-builder`
```
flatpak-builder build com.github.artemanufrij.webpin.yml --user --install --force-clean
```
#### Debugging
[Debugging FlatPak Applications](https://docs.flatpak.org/en/latest/debugging.html)
To enter the container
```
flatpak run --command=sh com.github.artemanufrij.webpin
```
### Legacy method
As first you need elementary SDK As first you need elementary SDK
``` ```