Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbugni/openrefineflatpak


https://github.com/mbugni/openrefineflatpak

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        


OpenRefine Icon

# OpenRefine on Flatpak
 

This project contains files to build [OpenRefine](https://openrefine.org/) as a Flatpak app: it is a prototype for
[helping the author](https://github.com/OpenRefine/containers/issues/2) to create the app or to build it locally.

## How to build the app

### 1 - Prepare the environment
Ensure you have the following commands installed on your system:
- `git`
- `flatpak`
- `flatpak-builder`

Ensure you have the `flathub` repo enabled:
```shell
$ flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```

Clone this project on your computer:
```shell
$ git clone https://github.com/mbugni/OpenRefineFlatpak.git
```

### 2 - Build and install the app
From the project directory run the command:
```shell
$ flatpak-builder --user --verbose --install --install-deps-from=flathub --force-clean \
build org.openrefine.OpenRefine.yaml
```

See [flatpak documentation](https://docs.flatpak.org/) for more info.

The first build can take a couple of minutes, it depends on your machine performances. It install the app, making it available for your user in the system.

*NOTE:* if you want to install the app system wide, remove the `--user` option and prepend `sudo` in the above commands
(see [documentation](https://docs.flathub.org/docs/for-users/user-vs-system-install)).

### 3 - Run the app
You can run the OpenRefine launching it from your favorite desktop, or manually by using the `flatpak` command:
```shell
$ flatpak run org.openrefine.OpenRefine
```

## OpenRefine files
Data files are in folder `~/.var/app/org.openrefine.OpenRefine/data/openrefine`.
Config files are in folder `~/.var/app/org.openrefine.OpenRefine/config/openrefine`.