2017 © Pedro Peláez
 

project karika

YA business automation system

image

qeti/karika

YA business automation system

  • Saturday, April 29, 2017
  • by mnvx
  • Repository
  • 2 Watchers
  • 3 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

                                          .'`'.'`'.
 _   __           _ _                  .''`.  :  .''.
| | / /          (_) |                 '.   '. .'   .'
| |/ /  __ _ _ __ _| | ____ _          .``` .' '. ```.
|    \ / _` | '__| | |/ / _` |         '..,`  :  `..'
| |\  \ (_| | |  | |   < (_| |            /`-'`'-`
\_| \_/\__,_|_|  |_|_|\_\__,_|           /
                                        (

How to install

  1. Clone this repository git clone git@github.com:Qeti/Karika.git
  2. Setup permissions with following way:, (*1)

    $ 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/www
    $ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX /var/www
    
  3. Install dependencies and setup local environment: composer install
  4. Create database manually with PostgreSQL or with command: php bin/console doctrine:database:create
  5. Create database schema with command: php bin/console doctrine:migrations:migrate
  6. Setup web server (root directory is web)
  7. Open url /api/doc to view methods description.
  8. Optionally for development environment. Fill database with fixtures: php bin/console doctrine:fixtures:load
  9. For development: install node modules with npm install
  10. For development: run npm start

The Versions