1.0.1 • Published 9 years ago
karika v1.0.1
Karika
How to install
- Clone this repository
git clone git@github.com:Qeti/Karika.git Setup permissions with following way:
$ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1` # if this doesn't work, try adding `-n` option $ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var $ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX varInstall dependencies and setup local environment:
composer install- Create database manually with PostgreSQL or with command:
php bin/console doctrine:database:create - Create database schema with command:
php bin/console doctrine:migrations:migrate - Setup web server (root directory is
web) - Open url <karika_url>/api/doc to view methods description.
- Optionally for development environment. Fill database with fixtures:
php bin/console doctrine:fixtures:load - For development: install node modules with
npm install - For development: run
npm start
Api documentation

Get method of REST API

Access control for POST
