Friday, August 19, 2016

Raspberry Pi Development Server for Home

We all got development server at our work. But we all like to have a dev server for our cool stuff we do at home. It may be freelance or pure technical interests.
We know we can set it up, but how and the associated complexities keep us form really setting up a dev server for home.

So let's see how we can do this on a Raspberry-pi.

What you need

  • Raspberry-pi - that's the whole point, right :) 
  • A Micro USB charger - for the PI
  • An Ethernet cable - for initial connectivity. Later with a wifi dongle you can set-up a wifi connection. 
  • A microSD card (minimum 8GB, and cards up to 32GB seem to work fine)
These will also come in handy during the initial setup:
  • A USB keyboard
  • An HDMI cable and monitor

  1. Install Raspbian on PI.
  2. Install remote desktop software on PI (it's easy to connect to PI this way than using mouse/keyboard/monitor whole setup)
  3. setup ssh on PI
  4. Install a web server
  5. Setup access to your local server through internet. You can user NgRok for that.
  6. Install your preferred dev environment(java based/node.js based etc)
  7. Setup a project on Bit-bucket
  8. Setup access from PI to your Bit-bucket project
  9. Configure PI to pull latest code from the Bit-bucket.
  10. Now you are there push you code to Bit-bucket and build it on PI 

So that's all you need to do. If you already got experience on this, you can set it up easily.
Otherwise just see the detailed instructions on most of these steps on this blog post
How to Turn Your Raspberry Pi Into a Development Server .

Share Article : Raspberry Pi Development Server for Home


Post a Comment