Source code of www.zeminem.cz [1.3]
Master branch and Develop branch
It's tested against at least PHP 5.4.29. The lower version of PHP is not supported, sorry.
- Nette Framework - a popular tool for PHP web development
- Nette Tester – enjoyable unit testing
- Latte - amazing template engine for PHP
- Texy - is sexy
- FSHL - free, open source, universal and very fast syntax highlighter
- Webloader - component for smart CSS and JS files loading
- Doctrine 2 - library primarily focused on database storage and object mapping (using Kdyby)
- Kdyby\Events - robust events system for Nette Framework
- Kdyby\AOP - AOP functionality for Nette Framework
- and much more...
The best way to install this project is to download latest package with dependencies using Composer:
-
Install Composer: (see http://getcomposer.org/)
-
Use Composer:
composer create-project mrtnzlml/zeminem.cz --stability=dev
-
Install Bower: (see http://bower.io/)
-
Go to the project folder and install client side dependencies:
bower install
It's like Composer for front-end.
Make directories temp
, log
, www/webtemp
, www/chunks
and www/uploads
writable.
Navigate your browser to the www
directory and you will see a welcome page.
PHP 5.4 allows you run php -S localhost:8888 -t www
to start the webserver and
then visit http://localhost:8888
in your browser.
Port must be set according to the local computer settings.
It is CRITICAL that file app/config/config.neon
& whole app
, log
and temp
directory are NOT accessible directly via a web browser! If you
don't protect this directory from direct web access, anybody will be able to see
your sensitive data. See security warning.
Then you have to create database for this website. You can use Adminer tool in
http://localhost:8888/adminer
or you can do that manually using command line:
mysql -u root -e 'create database zeminem;'
mysql -u root -D zeminem < sql/zeminem.sql
There is also automatic (beta) installer. Just install this project using Composer and open it in your favourite browser. I am still working on it...