Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
115 stars 70 forks source link

The Altinn 3 Raspberry Pi 3 challenge #5912

Open altinnadmin opened 3 years ago

altinnadmin commented 3 years ago

I've had a Raspberry Pi 3 laying around for a couple of years, but I've never found the time to use it for something cool.

We're talking only 1 GiB of RAM and a 1.4 GHz 64-bit quad-core ARM Cortex-A53 processor, with 512 KiB shared L2 cache. Tiny specs indeed...

So, then the natural question is: Can it run Altinn 3?? 😁

Is it possible to run the entire Altinn 3 infrastructure (Altinn Studio, Altinn Platform and a couple of apps) on this tiny device? To put this into context, I want to run Altinn 3 on something that has just a fraction of the memory in your phone and costs only $35.

Let's find out!

image

The software

So what software are we using in Altinn 3 that I need to get up and running on my Pi?

Hmmm, this might actually work! It seems possible with some effort. Wow!

Altinn 2

For fun, could this be remotely possible with the software used in Altinn 2? Short answer: no.

Out of scope

Tasks

astromoskar commented 3 years ago

@altinnadmin

Cosmos DB and Blob Storage is used by Storage in Platform. Azure-only, and is not even possible to emulate on Linux. Seems like we need Altinn/altinn-storage#127... Or can we use the file-based implementations used in LocalTest?

Might be possible to use the "real deal" instead of emulating on Linux? https://docs.microsoft.com/en-us/azure/cosmos-db/optimize-dev-test#azure-cosmos-db-free-tier

altinnadmin commented 3 years ago

Might be possible to use the "real deal" instead of emulating on Linux? https://docs.microsoft.com/en-us/azure/cosmos-db/optimize-dev-test#azure-cosmos-db-free-tier

Heh, wouldn't that be cheating? The challenge (and fun) is getting everything running on a Pi :)