janpecha / Microsite

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microsite example

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.

Microsite


In order to get the application running please:

  1. Clone this repository into some empty directory
  2. Run composer install in that directory
  3. Create an empty MySQL database and run /resources/init-db.sql script on it
  4. Copy /config/config.server.sample.neon to /config/config.server.neon
  5. Update database connection settings in /config/config.server.neon
  6. 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.

Requirements

Application requires PHP 5.4 or newer and MySQL 5 or newer. It is intended for running on Apache web server.

License

MIT

Copyright (c) 2014 Vojtěch Kohout (aka Tharos)

About

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.

License:MIT License


Languages

Language:PHP 61.4%Language:JavaScript 27.1%Language:CSS 11.5%