Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabianschmick/photography
Template and CMS for photographs build with symfony
https://github.com/fabianschmick/photography
photo-gallery photoblog photographs photography symfony
Last synced: 11 days ago
JSON representation
Template and CMS for photographs build with symfony
- Host: GitHub
- URL: https://github.com/fabianschmick/photography
- Owner: FabianSchmick
- Created: 2017-10-30T16:57:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-06T11:08:06.000Z (over 1 year ago)
- Last Synced: 2024-10-07T03:09:32.662Z (about 1 month ago)
- Topics: photo-gallery, photoblog, photographs, photography, symfony
- Language: PHP
- Homepage: https://fotografie.fabian-schmick.de
- Size: 26.8 MB
- Stars: 24
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Photography
===========[![Tests and Deployment](https://github.com/FabianSchmick/photography/actions/workflows/tests-and-deployment.yml/badge.svg)](https://github.com/FabianSchmick/photography/actions/workflows/tests-and-deployment.yml) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/FabianSchmick/photography/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/FabianSchmick/photography/?branch=master)
This project is based on the [Symfony PHP Framework](https://symfony.com/) and should be seen as some sort of small template for photograph websites.
Note: you should have experience in web development to adjust the project to your preferences.You can find first impressions on [fotografie.fabian-schmick.de](https://fotografie.fabian-schmick.de) or watch the gif below
![back-and-frontend](./.github/example.gif "Back- and Frontend view")
## Features
The project provides you following functionality:
- [Symfony 5.4](https://symfony.com/releases/5.4) (LTS version) and PHP 8.1 compatibility
- Responsive layout with the help of [Bootstrap](https://getbootstrap.com/) and [jQuery](https://jquery.com/)
- Small CMS / Backend functionality for creating new posts, tags and tours
- Image compression and thumbnail generation with [LiipImagineBundle](https://github.com/liip/LiipImagineBundle)
- I18n support in English and German
- Tag possibility for describing and filtering posts
- Uploading gpx files for showing your favorite tours with [Leaflet](https://leafletjs.com/) and connect them with your posts
- Calculation of the tour duration with German Alpine Club (DAV) recommendations
- [Lazyloading](https://github.com/verlok/lazyload) and Infinityscrolling for images
- Lightbox as a quick view for images
- Dynamic Sitemap generation
- SEO optimization
- Valid for General Data Protection Regulation (GDPR)
- Some PWA Support with [Workbox](https://developers.google.com/web/tools/workbox/modules/workbox-build)## Installation
Clone the project
```
git clone https://github.com/FabianSchmick/photography.git
```Install the dependencies via composer
```
composer install
```To run the application [setup Symfony](https://symfony.com/doc/4.4/setup.html#running-the-symfony-application) or use [vagrantfile for local development](https://github.com/FabianSchmick/vagrant_skeleton/blob/master/README.md) or use [migraw for local development](https://github.com/marcharding/migraw)
Generate the database schema
```
php bin/console doctrine:schema:update
```Create a backend user
```
php bin/console app:add-user username password fullname
```Now you only need to execute `npm install` and `npm run build` in the project root to generate the necessary stylesheet and javascript files.
If you need some example data run:
```
php bin/console doctrine:fixtures:load
```