community-edition icon indicating copy to clipboard operation
community-edition copied to clipboard

feature request: a matomo like setup.php installation

Open supervisitor opened this issue 3 years ago • 9 comments

a simpler, matomo like installation process:

  • unpack the downloaded zip-file on the server
  • open the file setup.php in browser
  • make the entries for database (mysql) and first admin user

finished... go and integrate the js into all webs...

supervisitor avatar Nov 25 '20 13:11 supervisitor

Sounds good. A simple starting point would be a flow to add the first admin account through the web UI so you don't have to add admin credentials to the config file.

ukutaht avatar Nov 26 '20 07:11 ukutaht

yes i was searching for alternative soultion too it would be good to support that method

minamorcose avatar Feb 08 '21 11:02 minamorcose

I went through installing Sentry just recently and I have to say the install script is very nice. Something to take inspiration from when building our own bootstrap script:

https://github.com/getsentry/onpremise/blob/master/install.sh

ukutaht avatar Mar 03 '21 13:03 ukutaht

plausible analytics is not a php app. You cannot install it as such.

dodedodo avatar Jan 26 '22 17:01 dodedodo

We could still provide a script that makes the installation process easier. Doesn't have to be php

ukutaht avatar Jan 26 '22 22:01 ukutaht

We could still provide a script that makes the installation process easier. Doesn't have to be php

My thoughts exactly. The PHP process is more of a reference. I might work out something soon with bash script in my free time.

Philipinho avatar Jan 26 '22 22:01 Philipinho

There's a docker-compose.yml file in this repo. Grab a vps with docker installed, git clone this repository and run docker-compose up -d. That's 2 commands to get a working installation. It doesn't get much simpler than that in my opinion.

I do not recommend self-hosting important/production services if you don't know what you're doing.

This project works with NodeJS, ClickhouseDB and PostgreSQL. It's simply not the same technology stack as your regular cPanel webhost. It's incompatible. You could probably upload the docker-compose.yml to something like heroku or AWS app runner, just like you would a setup.php to cPanel. I have zero experience with these services so I cannot help you.

dodedodo avatar Jan 27 '22 14:01 dodedodo

There's a docker-compose.yml file in this repo. Grab a vps with docker installed, git clone this repository and run docker-compose up -d. That's 2 commands to get a working installation. It doesn't get much simpler than that in my opinion.

I do not recommend self-hosting important/production services if you don't know what you're doing.

This project works with NodeJS, ClickhouseDB and PostgreSQL. It's simply not the same technology stack as your regular cPanel webhost. It's incompatible. You could probably upload the docker-compose.yml to something like heroku or AWS app runner, just like you would a setup.php to cPanel. I have zero experience with these services so I cannot help you.

i would perfer some bash script because not all host support docker spicially Paas Services like Jelastic ... you don't need to support all the platforms it's enough to support Debian and maybe RHEL it's simpally what the docker file does ... to be honest i tried myself but it seemes i don't have enough experiance but i am sure the developers could do itwithout much trouble

minamorcose avatar Jan 28 '22 13:01 minamorcose