I need some useful information about running a local web server in a Raspberry Pi and the best embedded system that can handle my device.
What do I mean?
Well I've created a website using django
+ redis
+ celery
+ postgresql
So what I want to do with this website is to Turn on/off LED lamp
using a BreadBoard
. This is done by celery
...
actually there is a task (celery-beat-schedule
) that should turn off/on some specific LED lamps.
And the django is the firmware
that creates those tasks and controls my device
For example:
Imagine I have a task that represent the main job of the device (turning on/of) a I can create and run this tasks using django-celery-beat
.
But
The main question is how can I run this in a embedded system like Raspberry Pi. Actually what are the best hardware like CPU RAM
this website can run on that and does not crash?
For example, is Raspberry Pi zero w
suitable for running this web server and setup? And there is no limit to the implementation?
Of course, let me say this too. I don't want to spend too much otherwise I think the Raspberry Pi 4
is the best.
Updated: Also the OS
is linux (Raspbian OS
) as you already know.