This is a basic photo gallery web site.
- git
$ sudo apt-get update
$ sudo apt-get install git
- Docker
$ sudo apt-get update
$ sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
$ sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
$ sudo apt-get update
$ sudo apt-get install -y docker-engine
Verify if it is working:
$ sudo systemctl status docker
- docker-compose
$ sudo apt-get update
$ sudo apt-get -y install python-pip
$ sudo pip install docker-compose
- Make
$ sudo apt-get update
$ sudo apt-get install make
$ git clone https://github.com/vdbalbom/photogallery.git
$ cd /photogallery
$ make run
$ make run-detached
$ make test-photogallery
$ make inside-container
- Run on port 80.
- To admin login go to /admin.
- To contributor login go to /login.
- By default installation admin has login: admin and password: admin.
- Sample contributors:
- login: smartpig, password: 12345
- login: hipstercat, password: 12345
- login: happydog, password: 12345
- There is an admin which can create/delete contributors, change site's name and description, and change its own settings: login and password.
- Contributors can create/edit/delete its own photos and can change its settings (name, email, description, facebook, instagram and tumblr links, profile picture, login and password).
- Photos have title, image, optional description and optional tags.
- It is possible to access gallery filtered by:
- all contributors and all tags;
- a specific contributor and all tags;
- all contributors and a specific tag;
- a specific contributor and a specific tag