Trellmor / img

img.pew.cc Image Hosting script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

img.pew.cc

img.pew.cc is a small website for simple image hosting. See img.pew.cc

Setup

  • Use composer to install the dependencies: composer install
  • Create Application/localconfig.php and edit the config values from Application/config.php there.
  • Use data/schema.sql to create a sqlite3 database sqlite3 data/db.sqlite3 < data/schema.sql
  • Point the web server root directory to public/

Development

  • Use npm to install the dev dependencies: npm install
  • Use grunt to build the code: grunt build
    • Grunt calls composer to get the php dependencies. Make sure the composer binary is globally installed and named composer
  • After modifying the less or JavaScript code, call grunt build again to compile it

About

img.pew.cc Image Hosting script

License:GNU Affero General Public License v3.0


Languages

Language:PHP 71.2%Language:JavaScript 22.5%Language:CSS 6.1%Language:ApacheConf 0.2%