Skip to content

Instantly share code, notes, and snippets.

View makinuk's full-sized avatar

Mustafa AKIN makinuk

View GitHub Profile

Create Entities from exist database

  • for all tables
php bin/console doctrine:mapping:import EntityBundle yml --force
php bin/console doctrine:generate:entities EntityBundle
  • for one table
php bin/console doctrine:mapping:import EntityBundle yml --force --filter=TableName
php bin/console doctrine:generate:entities EntityBundle:CusFileshare --path=src
@makinuk
makinuk / capistrano.md
Last active September 18, 2019 17:17
Capistrano Configuration with Gitlab

Capistrano Configuration

Configure Server

  • configure deploy user
groupadd deployers
adduser deploy
usermod -a -G deployers deploy
  • to give the deployers group the permissions, run the following and edit the /etc/sudoers file: visudo