DEV Community

Cover image for Using a Raspberry Pi as Your Development Server

Using a Raspberry Pi as Your Development Server

Jeremy Morgan on February 01, 2020

In this tutorial, I will show you how to set up a Raspberry Pi 4 as a development (or testing) server. You can use this as a place to push your cod...
Collapse
 
jldohmann profile image
Jesse

Great article! I wish this was around a couple weeks ago when I also set up my RPi as a development/test server. I had to combine multiple articles together to get a basic setup—way too many tabs for my liking!

Thanks for sharing, and thanks for introducing me to the Pinebrook Pro!

Collapse
 
jeremycmorgan profile image
Jeremy Morgan

Awesome! It was fun putting this together, I was setting it up for my own personal use and decided to make an article of it. I had to look up a couple of things...

Collapse
 
lucis profile image
Lucis

Really nice post, thanks for that OP!

I remember doing something similar in my Digital Ocean machine, the thing I did differently was the reload process. I settled up a web server that listened to a Github hoom from my app's repo and it would, when receiving a push, stop my Node.js process for the app, git pull, and spawn the process again.

I'm curious to use a RaspPi as a K8s provider, I think it would be a nice experience :)

Collapse
 
steveblue profile image
Stephen Belovarich

Nice article! I started using a Raspberry Pi five years ago to have another instance of Node.js Express REST API and MongoDB running on my LAN in case my internet went down or one of the remote environments went down. If I had to start up a new project I would do it again.

Collapse
 
waylonwalker profile image
Waylon Walker

Very cool guide, this guide also applies to remote cloud servers. Any cheap vm can do the same thing.

Deploying like this with git feels like a superpower!

Collapse
 
dzvid profile image
David

I use something similar, but with docker containers on my pi.

Collapse
 
x777 profile image
YD

Cool! Interesting, what count of connections it may accept)

Collapse
 
cyberdelahoz95 profile image
Henri de la Hoz

Do you guys know any OS compatible with Raspberry Pi that comes with tools for developers?
something Like Laravel Homestead for raspberry PI.
Thanks