Skip to content

gokhan-yener/pdf-service

Repository files navigation

PDF-Service

Development Environment

Initial Setup (For Development Environment)

# create parameters.yml
cp app/config/parameters.yml.dist app/config/parameters.yml

# install Vendor Libraries
composer install

# create DB tables
php bin/console doctrine:schema:update --force

Production Environment

Running in Production Environment

# start
./app-start.sh

# stop
./app-start.sh

Running Moreum Archival Command

docker-compose exec php bin/console app:moreum:archival --env=prod

Execute SQL Query from CLI

docker-compose exec php bin/console doctrine:query:sql 'SELECT * FROM aegon_pdf'

Access API Documentation

http://localhost/doc
# or
http://<server-ip>/doc

Running Pdf Regenerate Command

docker-compose exec php bin/console app:pdf-regenerate --env=prod

send data to Kibana with Elasticsearch Command

docker-compose exec php bin/console fos:elastica:populate --env=prod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages