img.pew.cc Image Hosting script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Application
Controller
DAL
Model
View
data
js
less
public
.gitignore
COPYING
Gruntfile.js
README.md
composer.json
composer.lock
package.json

README.md

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