Simple service for sharing files
Implemented via:
- Slim micro framework https://www.slimframework.com/
- Doctrine ORM http://www.doctrine-project.org/projects/orm.html
- Twig https://twig.symfony.com/
- Twitter Bootstrap https://getbootstrap.com/
- PHP5.6 or above
- PostgreSQL
- SphinxSearch
- Composer
git clone https://github.com/someApprentice/filehosting.git
- create new database and import dump file (
filehosting.sql
in the work directory) composer install
- change database configuraion in the
/config/config.ini
file - change sphinx configuration in the
/config/sphinx.conf
file - create sphinx indexes
indexer --config /config/sphinx.conf --all
- run SphinxSearch service
searchd --config /config/sphinx.conf