Skip to content

Hosting the images with multiply uploads, checking of checksum, lossless optimization.

License

Notifications You must be signed in to change notification settings

MrChebik/OSPicture

Repository files navigation

OSPicture

Build Status Codacy Badge codebeat badge Code Climate Issue Count

Hosting the images with multiply uploads, checking of checksum, lossless optimization.

Demonstration

OSPicture - WebP animation Home - Image - Full Screen Mode - Folder

Getting Started

  1. Setting utf8 encoding in MySQL:
    1. Go to /etc/my.cnf
    2. Remove ; before collation_server and character_set_server, or add this:
[mysql]
default-character-set = utf8
  
[mysqld]
collation_server = utf8_unicode_ci
character_set_server = utf8
  1. Install image optimizations libraries and ImageMagick:

Run

  1. Clone repository:
$ git clone https://github.com/MrChebik/OSPicture.git
$ cd OSPicture
  1. Launch:
$ mvn spring-boot:run \
--Dspring.datasource.username=USERNAME_DB \
--Dspring.datasource.password=PASSWORD_DB \
--Dpath.pictures=FOLDER_TO_STORE_IMAGES
  1. Follow to the link: http://localhost:8446/

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Tasks

  • B+ Tree structure of pictures.