finished implementing script and update README.
This commit is contained in:
@@ -1,2 +1,32 @@
|
||||
# ras-pi
|
||||
A comprehensive, end-to-end guide to the fundamentals of coding, network protocols, Linux, and the Raspberry Pi.
|
||||
<h1>ras-pi</h1>
|
||||
A comprehensive, end-to-end guide to the fundamentals of coding, network
|
||||
protocols, Linux, and the Raspberry Pi.
|
||||
|
||||
<h2>Getting Started</h2>
|
||||
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;
|
||||
```
|
||||
|
||||
<h3>Expose Services to the Internet</h3>
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user