This is basic overview of system requirements, installation etc. For more detailed developer documentation see DEVELOPING.md file.
For information about deployment see DEPLOYMENT.md file.
This project consist of one custom-made website with administration usable by instructed individuals, some knowledge of HTML can be useful as the decision made at the beginning was to avoid WYSIWYG editors for output unpredactibility.
These are the requirements for hosting:
- SSH access,
- Git executable,
- PHP executable from command line,
- Apache 2.0+ (with activated
mod_rewritemodule) - PHP 5.6 (higher versions should be ok, though some warnings are expected)
- MySQL database
- Nette capable hosting (see https://doc.nette.org/cs/2.3/requirements)
The application doesn't any extra treatment to achieve desired performance as the is is quite simple.
- Checkout the project do desired directory
- Create
/project/config/config.local.neonwhere you put database configuration andmaintenance.keywhich maybe needed for deleting cache on production (when created bywww-datauser). - Set appropriate permissions to
log,tempanddatarecursively (ensure thatwww-datacan access it bychmod 0777or extended ACL). - Ensure that
app/config/*,temp,logare not available from browser as sensitive data could leak here. - Run
php composer.phar installto install necessary dependencies. - Install database (
app/updatedb.phpor manually by executingresources/migrationsin hinted order). - For local development run
php -S localhost:8090and then go to browserhttp://localhost:8090.
- Jan Drábek [email protected]
- Martin Ukrop [email protected]