A while ago I was looking for a free alternative to Google Analytics for a side project of mine.
I tried Countly but it uses MongoDB which I could not make it work easily for an ARM 32bit, to try it with on my Raspberry Pi 3.
So I stumble upon Matomo (ex Piwik).
It uses MySQL which can easily run on the Raspberry.
However I could not find a simple Docker to try it out.
So I wrote a docker compose for Matomo, you can find it on my github: https://github.com/manhluong/matomo_docker
Just clone the repo, then run:
docker-compose -f x86/docker-compose.yml --project-director ./matomo up
And you will see the service coming up.
At that point if you go to http://localhost:8080/ you should see the initial Matomo setup screen:
To try on an arm v7 32 bit architecture (the Raspberry Pi 3), just run the docker-compose contained in the other folder:
docker-compose -f arm32v7/docker-compose.yml --project-director ./matomo up
Previously I wrote about building the Dart SDK for ARMv6, so that I could use Dart on a Raspberry Pi Zero.
The problem at the time was that I could build only version 1.24 of the SDK, while Dart 2 has been around for a while now.
I managed to build the latest version of Dart (2.0.0-dev.55.0) too.
I could run Aqueduct and the Flutter tools with that.
I used Docker again but this time I also wanted to play around with CircleCI, mainly to have a more powerful setup during the build process.
You can find everything in my repo: https://github.com/manhluong/dart_sdk_build_raspberry_pi_dockerfile
A zip file containing the binaries is in the
output folder: https://github.com/manhluong/dart_sdk_build_raspberry_pi_dockerfile/tree/master/output
Given the rising popularity of Flutter I wanted to play around with the underlying language and it’s sdk, Dart.
More specifically I wanted to use Dart on my Raspberry Pi Zero.
The official binaries of Dart VM / SDK support only ArmV7 which means Raspberry Pi 2 onward, as the Zero is ArmV6.
In the Dart Github there are some instructions on how to build the sdk, also for the Raspberry Pi 1, but those instructions seems to be outdated and they doesn’t cover my preferred Linux distribution, Archlinux.