diff options
| author | Peter Lejeck <peter.lejeck@gmail.com> | 2013-11-01 01:53:17 +0100 |
|---|---|---|
| committer | Peter Lejeck <peter.lejeck@gmail.com> | 2013-11-01 01:53:17 +0100 |
| commit | 687b1be63b80a273af9795baac702c7cb62802ac (patch) | |
| tree | d13e726c051be66cd310eda777f818f63914b5e2 /README.md | |
| parent | 893fbf251d75df3f5ac1d02d704eec288de426c9 (diff) | |
| parent | 72c861f45ff7458698c2016af5982970d7258a05 (diff) | |
Merge branch 'nuck-dev'
Conflicts:
README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 33 |
1 files changed, 32 insertions, 1 deletions
@@ -1 +1,32 @@ -Use tree->nuck-dev instead, this code is outdated. +# Pomf.se +Only tested with Nginx + PHP5.5 + MySQL, but should work with newer PHP or any +other PDO-compatible database. + +# Install +For the purposes of this guide, we won't cover setting up Nginx, PHP, MySQL, +Node, or NPM. So we'll just assume you already have them all running well. + +## Compiling +The assets are minified and combined using [Grunt](http://gruntjs.com/). + +Assuming you already have Node and NPM working, compilation is easy: +``` +$ npm install -g grunt-cli +$ git clone -b nuck-dev https://github.com/nokonoko/Pomf.git +$ cd Pomf +$ npm install +$ grunt +``` +After this, the pomf site is now compressed and set up inside `dist/`. + +## Configuring +The majority of settings are in `static/includes/settings.inc.php`. Read the +comments in that file for more information. + +For file size configuration, there is no server-side verification: we assume +that PHP and Nginx provide ample protection in this department. There is, +however, client-side configuration for max size, the `data-max-size` attribute +on the file input in `pages/upload_form.swig`. + +# Contact +I can be contacted via neku@pomf.se or twitter at @nekunekus. |
