Skip to content

piratenfraktion-nrw/umfragetool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Umfragetool
===========

research and opinion poll webapplication


Dependencies
============

nginx
mysql
php-mysqli

Install
=======

CREATE DATABASE umfragetool;
CREATE USER 'myuser'@'localhost' IDENTIFIED BY 'changeme';
GRANT ALL ON umfragetool.* TO 'myuser'@'localhost';
FLUSH PRIVILEGES;
\. /pathto/umfragetool-datenbank.sql

Configure
=========

vim classes/DB.class.php
cd admin && chmod 755 AdminLTE2

create some vhost like:

server {
    listen 80;

    client_max_body_size 100M;

    server_name umfragetool.local;
    root /path/to/umfragetool/;

    location /admin {
        try_files $uri $uri/ /admin/index.php?$args;
        index index.php index.html;
    }

    location /guest {
        try_files $uri $uri/ /guest/index.php?$args;
        index index.php index.html;
    }

    location /f {
        try_files $uri $uri/ /f/index.php?$args;
        index index.php index.html;
    }

    location ~ .php$ {
	include fastcgi.conf;
	fastcgi_pass php-fpm;
	#fastcgi_index index.php;
	include fastcgi_params;
    }	

}


License
=======

GPLv3

PHP Altorouter: MIT
Chart.js: MIT
AngularJS: MIT
Angular Colorpicker: MIT
Angular-Chart.js: BSD
Font Awesome: SIL OFL 1.1 / MIT
Ionicons: MIT





About

research and opinion poll webapplication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published