Giter Club home page Giter Club logo

pollcontrol's Introduction

Poll control example

Used technologies
  • Nette framework
  • AJAX realized with pure Nette resources (snippets & subrequests)
  • Designed using Bootstrap 3
  • Assets downloaded & installed with npm, bower & gulp
Obtaining repository

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
Setup

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.