Giter Club home page Giter Club logo

phpic's Introduction

README
======

PHPic is designed as an easy way to share your pictures on your server. Simply clone this repository, set-up your VHOST and run the Daemon script to create an elegant album sharing solution.


Setting Up Your VHOST
=====================

The following is a sample VHOST you might want to consider for your project.

<VirtualHost *:80>
   DocumentRoot "/path/to/phpic/public"
   ServerName phpic.local

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development
    
   <Directory "/path/to/phpic/public">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride All
       Order allow,deny
       Allow from all
   </Directory>
    
</VirtualHost>


Setting Up Permissions and Crons
================================
In order to set correct permissions to folders and to add the daemon to cron just execute "script.sh" once.
sudo ./launch.sh


Album scope
===========
Each album can be public, protected or private. In order to change the scope, you just have to modify the xml file.
For example : 
<?xml version="1.0"?>
<collection>
  <album title="winter_013" scope="public"/>
  <album title="spring_013" scope="private">
	<user name="florian"/>
	<user name="camille"/>
  </album>
  <album title="summer_013" scope="protected"/>
</collection>

phpic's People

Contributors

flightan avatar mathieu958 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.