alpha
Login
or
Join now
dunkirk.sh
/
inky
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
chore: move update to no repo
author
Kieran Klukas
date
1 year ago
(Apr 13, 2025, 6:03 PM -0400)
commit
df347500
df3475007f701540f7e9353dc3f5f4e7d194a9cb
parent
67463fe1
67463fe198b86111e76522a309d02327edb412ec
+11
-12
1 changed file
Expand all
Collapse all
Unified
Split
setup.sh
+11
-12
setup.sh
Reviewed
···
9
9
10
10
echo "Setting up Inky camera server from GitHub repository..."
11
11
12
12
-
# Update system packages and install dependencies
13
13
-
echo "Updating package lists and installing dependencies..."
14
14
-
apt update
15
15
-
apt install -y python3-picamera2 python3-websockets python3-rpi.gpio git
16
16
-
17
17
-
# Create directory for storing photos
18
18
-
echo "Creating photos directory..."
19
19
-
mkdir -p /home/ink/photos
20
20
-
chown ink:ink /home/ink/photos
21
21
-
22
22
-
# Clone the repository
23
23
-
echo "Cloning repository from GitHub..."
12
12
+
# Check for existing repository
24
13
cd /home/ink
25
14
if [ -d "/home/ink/inky" ]; then
26
15
read -p "Repository already exists. Would you like to update it? (y/n) " -n 1 -r
···
36
25
systemctl restart camera.service
37
26
fi
38
27
else
28
28
+
# Update system packages and install dependencies
29
29
+
echo "Updating package lists and installing dependencies..."
30
30
+
apt update
31
31
+
apt install -y python3-picamera2 python3-websockets python3-rpi.gpio git
32
32
+
33
33
+
# Create directory for storing photos
34
34
+
echo "Creating photos directory..."
35
35
+
mkdir -p /home/ink/photos
36
36
+
chown ink:ink /home/ink/photos
37
37
+
39
38
git clone https://github.com/taciturnaxolotl/inky.git
40
39
41
40
chown -R ink:ink /home/ink/inky