chore: Update README instructions to use vi and remove explicit chmod, and ignore camera-settings.json.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ uploads/
|
|||||||
users.json
|
users.json
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.log
|
*.log
|
||||||
|
camera-settings.json
|
||||||
@@ -17,7 +17,7 @@ sudo apt update && sudo apt install -y fswebcam curl
|
|||||||
cp picupper.conf.example picupper.conf
|
cp picupper.conf.example picupper.conf
|
||||||
|
|
||||||
# Edit with your settings
|
# Edit with your settings
|
||||||
nano picupper.conf
|
vi picupper.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
Update `picupper.conf` with your API key and camera settings.
|
Update `picupper.conf` with your API key and camera settings.
|
||||||
@@ -25,9 +25,6 @@ Update `picupper.conf` with your API key and camera settings.
|
|||||||
### 3. Install & Enable
|
### 3. Install & Enable
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Make scripts executable
|
|
||||||
chmod +x capture-upload.sh install.sh
|
|
||||||
|
|
||||||
# Run installer (sets up cron job)
|
# Run installer (sets up cron job)
|
||||||
./install.sh
|
./install.sh
|
||||||
```
|
```
|
||||||
@@ -183,7 +180,7 @@ Reduce SD card writes to extend its lifetime:
|
|||||||
# Disable swap
|
# Disable swap
|
||||||
sudo swapoff -a
|
sudo swapoff -a
|
||||||
# Comment out swap line in /etc/fstab
|
# Comment out swap line in /etc/fstab
|
||||||
sudo nano /etc/fstab
|
sudo vi /etc/fstab
|
||||||
|
|
||||||
# Disable automatic apt updates
|
# Disable automatic apt updates
|
||||||
sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer
|
sudo systemctl disable apt-daily.timer apt-daily-upgrade.timer
|
||||||
|
|||||||
0
demo/capture-upload.sh
Normal file → Executable file
0
demo/capture-upload.sh
Normal file → Executable file
0
demo/install.sh
Normal file → Executable file
0
demo/install.sh
Normal file → Executable file
0
demo/uninstall.sh
Normal file → Executable file
0
demo/uninstall.sh
Normal file → Executable file
Reference in New Issue
Block a user