qeti / karika
YA business automation system
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- ext-json: *
- ext-mbstring: *
- ext-pdo: *
- ext-pdo_pgsql: *
- ext-session: *
- doctrine/doctrine-bundle: ^1.6
- doctrine/doctrine-cache-bundle: ^1.2
- doctrine/doctrine-migrations-bundle: ^1.2
- doctrine/orm: ^2.5
- friendsofsymfony/oauth-server-bundle: ^1.5
- friendsofsymfony/rest-bundle: ^2.1
- friendsofsymfony/user-bundle: ~2.0@dev
- incenteev/composer-parameter-handler: ^2.0
- jms/serializer-bundle: ^1.1
- nelmio/api-doc-bundle: ^2.12
- nelmio/cors-bundle: ^1.4
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0
- symfony/console: ^3.1
- symfony/monolog-bundle: ^2.8
- symfony/swiftmailer-bundle: ^2.3
- symfony/symfony: 3.1.*
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-21 03:35:44 UTC
README
.'`'.'`'.
_ __ _ _ .''`. : .''.
| | / / (_) | '. '. .' .'
| |/ / __ _ _ __ _| | ____ _ .``` .' '. ```.
| \ / _` | '__| | |/ / _` | '..,` : `..'
| |\ \ (_| | | | | < (_| | /`-'`'-`
\_| \_/\__,_|_| |_|_|\_\__,_| /
(
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/www $ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX /var/www
-
Install 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