updated build instructions

gh-pages
somas95 2018-04-16 19:18:45 +02:00
parent 43443f4572
commit 547ddcf585
1 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,10 @@ To use uberwriter, please make sure you have some dependencies installed:
- Of course, gtk3 etc. needs to be installed as well since this is a gtk application
- Please find these packages on your distribution: `python3 python3-regex python3-setuptools python3-levenshtein python3-enchant python3-gi python3-cairo`
You can run UberWriter with `./bin/uberwriter`
You can run UberWriter with `./bin/uberwriter` without installing it in the system,
but you'll need to install and compile the schemas before:
`sudo cp data/de.wolfvollprecht.UberWriter.gschema.xml /usr/share/glib-2.0/schemas/de.wolfvollprecht.UberWriter.gschema.xml`
`sudo glib-compile-schemas /usr/share/glib-2.0/schemas`
It's also possible to build, run and debug a flatpak package. You'll need flatpak-builder for this:
@ -17,7 +20,7 @@ It's also possible to build, run and debug a flatpak package. You'll need flatpa
- `flatpak-builder --install --force-clean some_folder_name uberwriter.json` (this installs and cleans the build folder)
- `flatpak run de.wolfvollprecht.UberWriter`
If you can find Uberwriter after this, it's due to a Flatpak bug. Try to export it to a local repo before installing it:
If you can't find Uberwriter after this, it's due to a Flatpak bug. Try to export it to a local repo before installing it:
- `cd flatpak`
- `flatpak-builder --repo=org.foo.Uberwriter --force-clean build uberwriter.json`
@ -31,6 +34,6 @@ If you want to update an existing installation, just run
- `flatpak update de.wolfvollprecht.UberWriter`
You can also debug with the following: `flatpak-builder --run --share=network some_folder_name uberwriter.json sh`
You can also debug it with the following: `flatpak-builder --run --share=network some_folder_name uberwriter.json sh`
If you want to install it using setuptools, simply run `python3 setup.py build install`