- Nette framework
- AJAX realized with pure Nette resources (snippets & subrequests)
- Designed using Bootstrap 3
- Assets downloaded & installed with npm, bower & gulp
Clone repository first
Install PHP libraries using Composer
composer install
Install Node.js modules & plugins by npm
npm install
Install bower components by bower
bower install
Compile assets by gulp
gulp
Copy sample config file to new local config
cd src/app/config/
cp config.local.sample.neon config.local.neon
Edit config file and fill Your credentials and change database name, if necessary.
doctrine:
# for local mysql database
user: root
password: root
dbname: db
Create database using Doctrine command
php src/www/index.php orm:schema-tool:create
OR
./bin/r.sh orm:schema-tool:create
or import structure to Your MySQL server from resources
resources/et_poll.sql
For testing purposes is defaultly disabled checking of IP uniqueness.
You can turn on this in main config file config.neon
:
parameters:
international: true
checkIp: false
changing the checkIp parameter to value true.