Skip to content

Latest commit

 

History

History
77 lines (66 loc) · 1.77 KB

readme.md

File metadata and controls

77 lines (66 loc) · 1.77 KB

RaspberryPi TimeLapse GUI

Why this project?

Because i need a timelapse solution who people can use it and install it easyly on raspberry pi and to test the new Symfony 5.

How it's works?

Just set timelapse parameters and save it.

Behind the scene a cron task will take a picture by using your settings.

Tested on

  • Raspberry Pi 3B+
  • Raspberry Pi 3A

Should Works on every Raspberry Pi with raspbian distribution

How to quick install it?

Just run:

wget https://raw.githubusercontent.com/MkLHX/rpi_timelapse_gui/master/installer.sh
chmod +x installer.sh
bash installer.sh

Manual installation

In manual installation, we assume:

  • you have a http webserver like Apache2 / Nginx or Lighttpd and you manage configuration
  • you have every dependencies installed

sudo apt-get install git cron php php-fpm php-cgi php-xml php-curl php-gd php-sqlite3 composer fswebcam ftp -y

clone the repo

git clone https://github.com/MkLHX/rpi_timelapse_gui.git

cd rpi_timelapse_gui

symlink public project folder to you webserver

sudo ln -s /home/pi/rpi_timelapse_gui/public /var/www/timelapse

give right ownership

sudo chown -R www-data:www-data /var/www/timelapse

copy .env to .env.local and edit

APP_ENV=prod
APP_SECRET=mysecretisawesome
DATABASE_URL="sqlite:///%kernel.project_dir%/var/timelapse.db"

install project dependencies

composer install

create database

php bin/console d:d:c

make migrations

php bin/console make:migration

force update db schema

php bin/console d:s:u --force

clear symfony cache

php bin/console c:c

fix mode on var

sudo chmod -R 777 var

Developped by using Symfony 5