This repository contains an example of very simple web application based on Nette Framework, Lean Mapper and Lean Query libraries. It is meant to be used mainly for study purposes.
In order to get the application running please:
- Clone this repository into some empty directory
- Run
composer install
in that directory - Create an empty MySQL database and run
/resources/init-db.sql
script on it - Copy
/config/config.server.sample.neon
to/config/config.server.neon
- Update database connection settings in
/config/config.server.neon
- Make sure that the web server can write into directories
/log
and/temp
And that's all. Now you can use following "entry points":
http://localhost/<pathToApplication>/www/cz - Czech version of the microsite
http://localhost/<pathToApplication>/www/en - English version of the microsite
http://localhost/<pathToApplication>/www/cz/admin - Main contents management of the Czech version
http://localhost/<pathToApplication>/www/en/admin - Main contents management of the English version
In admin you can use username admin
and password heslo
.
If you want to switch the application into a dev mode, please place empty file named dev
into /app/config
directory.
Application requires PHP 5.4 or newer and MySQL 5 or newer. It is intended for running on Apache web server.
MIT
Copyright (c) 2014 Vojtěch Kohout (aka Tharos)