Skip to content
/ picr Public

An Imgur clone: a dead simple tool for sharing internal images within a company.

License

Notifications You must be signed in to change notification settings

wcarss/picr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

picr

App Screenshot

What and Why

Because sometimes you want to share images that are internal, and shouldn't be uploaded for the world to see.

Picr is a dead simple, drag-and-drop upload image sharing webapp akin to Imgur. Right now it's very, very basic so don't expect the world of it. But it definitely makes it easy to share internal images within a company.

This is something I built for FreshBooks during one of our many hackoffs.

The Technical Bits

Requirements

Installation

  • php composer.phar install
  • In Symfony/ run php app/console doctrine:schema:update --force

Deployment to Production

  • Get this code onto the server (git clone?)
  • cd into Symfony/
  • Configure app/config/parameters.yml appropriately
  • php composer.phar install --no-dev --optimize-autoloader
  • php app/console cache:clear --env=prod --no-debug
  • php app/console doctrine:schema:update --force

Example Apache Vhost

<VirtualHost *:9080>
  ServerName picr.yourinternaldomain.com
  DocumentRoot "/home/foobar/picr/Symfony/web"
  <Directory "/home/foobar/picr/Symfony/web">
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>


  ErrorLog /var/log/httpd/picr_error.log
  CustomLog /var/log/httpd/picr_access.log combined
</VirtualHost>

License

Copyright 2014 by Justin A. S. Bull and 2ndSite Inc. aka FreshBooks, and licensed under the MIT License. See included LICENSE file for details.

About

An Imgur clone: a dead simple tool for sharing internal images within a company.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published