Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.05 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.05 KB

PostHub

System for registering parcels. It can be used in organizations that receive traditional mail or to provide correspondence services to other businesses.

screenshots

Requirements

See composer.json

Instalation

  • Checkout GIT repository
git clone https://github.com/jakreiter/PostHub.git posthub
  • Create .env.local file and change it manually with the machine specific values
cp .env .env.local
  • Create .htaccess file and change it manually if needed (for example redirect http to https)
cp public/.htaccess.dist public/.htaccess

Production values in .env.local: APP_ENV - 'prod' for production, 'dev' for developing

composer install
  • Clear Symfony cache.
./cc.sh

Creating database structure

php bin/console doctrine:schema:update --dump-sql
php bin/console doctrine:schema:update --force

Initial data hydration

Dictionaries (only in fresh database - deletes database data)

php bin/console --env=dev doctrine:fixtures:load