A simple photo gallery with a rich feature set like comments, logs, minimalistic design, pretty URLs, and much more. It uses various Object Oriented Concepts of PHP. Recently added an installation script to simplify the whole process.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need to have a working LAMP Installation.
- Create a new Host(Local Domain Name)
Add an entry to the hosts file.
photolia.dev 127.0.0.1
- Add a Virtual Host
<VirtualHost *:80>
DocumentRoot "/Library/WebServer/Documents/photolia/public"
DirectoryIndex index.php index.html
<Directory "/Library/WebServer/Documents/photolia/public>
Options +Indexes +FollowSymlinks +MultiViews
AllowOverride All
Require all granted
</Directory>
ServerName photolia.dev
ServerAlias www.photolia.dev
</VirtualHost>
- Enable Rewrite Module and Restart Web Server
$>sudo a2enmod rewrite
$>sudo service apache2 restart
- Clone this Repository in your Web Root
git clone https://github.com/shubhamoy/photolia.git
- Create an Empty Database
$> echo "create database
photolia" | mysql -u username -p
-
Open your Browser
http://photolia.dev
-
It shall present the installation UI.
Send me a tweet @shubhamoy