tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.1k stars 527 forks source link

Feature request: provide flatpak #2680

Open omichalek opened 5 years ago

omichalek commented 5 years ago

Hi, could you please consider providing Flatpak of TileMill? (Or any other one-click installation method.) I believe TileMill would very much benefit from using Flatpak as it would come bundled with all its dependencies and make the installation drastically easier - for every non-Ubuntu user at least.


And thank you everyone for keeping TileMill alive, it made me want to revisit my years old projects! Only the installation seems above my head as I don't use Ubuntu-based distro anymore...

csytsma commented 5 years ago

Hi @omichalek, thanks for the suggestion. We don't use Ubuntu either, our installation efforts have focused on MacOS for this release

We definitely have a desire to make installation easier, as we remember the struggles we went through initially to get Postgres, Postgis and GDAL setup. That is why Tim created installation scripts for this version, to make that all easier. Did you take a look at those and attempt to use them?

We'll also take a look at Flatpak, we're very interested in anything that will make it easier to distribute and install TileMill.

tpotter7 commented 5 years ago

@omichalek, as Cory said, we are both working on MacOS. I'll be focusing on a packaged installation for MacOS first. After that, I'll see if I can get Linux up on my Mac and checkout Flatpak as an option for packaging up a Linux distribution.

omichalek commented 5 years ago

thank you for your work, I missed the scripts - I will try them later!

omichalek commented 5 years ago

do you mean this script at http://tilemill.s3.amazonaws.com/latest/install-tilemill.tar.gz ?

pkexec /bin/bash -c "apt-get install --yes python-software-properties &&
    yes | apt-add-repository ppa:developmentseed/mapbox &&
    apt-get update --yes &&
    apt-get install --yes tilemill"

read -sp "Press [ENTER] to quit."
csytsma commented 5 years ago

If you're running the latest version of TileMill v1.0.x, don't use the old Ubuntu installation instructions. I was referring to the new scripts in the tilemill/utils directory, but those are for MacOS only, so those won't work for you.

Instead, just follow the Quick Installation instructions on the README. I just attempted a fresh install on a VM instance of Ubuntu 18.04.2 LTS, with Node v8.15.1 and npm v6.4.1 and it installed and ran as expected.

If you don't already have Node installed, you can follow these instructions to get Node v8.15.1 LTS: https://websiteforstudents.com/install-the-latest-node-js-and-nmp-packages-on-ubuntu-16-04-18-04-lts/

Then, do these steps: git clone https://github.com/tilemill-project/tilemill.git cd tilemill npm install npm start