Files
ras-pi/README.md
T
2025-03-13 14:29:19 -06:00

1.1 KiB

ras-pi

A comprehensive, end-to-end guide to the fundamentals of coding, network protocols, Linux, and the Raspberry Pi.

Getting Started

Run the following commands on a fresh installation on a Raspberry Pi:
sudo apt install git;
git clone https://github.com/SLCPL-CreativeLab/ras-pi;
cd ras-pi/scripts;
sudo chmod a+x install.sh;
sudo ./install.sh;

# If you want to expose services to the internet, run this command as well.
sudo ./cloudflared.sh;

Expose Services to the Internet

To enable cloudflared to expose services to the internet, you must - Make a Cloudflare account & purchase a domain; - Run the command `cloudflared tunnel login`; - Run the command ./cloudflared.sh in ~/ras-pi/scripts;

To temporarily expose a single service to the internet, use this command: cloudflared tunnel --url=http://localhost:PORT, where PORT is the service you'd like to expose. The ports used with the standard services are:

  • 5090 (the manual mirror of raspi.vintagecoding.net)
  • 5091 (the AI web application)
  • 5092 (the personal Netflix replacement)

See cloudflared.md for more information.