Skip to content

Skeleton Zend 2 + Admin + Authentication + Register User + Acl = Register Role, Register Resource and Register Privilege.

License

Notifications You must be signed in to change notification settings

imuneer/Zf2SkeletonApp

 
 

Repository files navigation

Zf2SkeletonApp

  1. Instalação

SSH: git clone [email protected]:jhonmike/Zf2SkeletonApp.git
OR
HTTP: git clone https://github.com/jhonmike/Zf2SkeletonApp.git
cd zf2skeletonapp
php composer.phar self-update
php composer.phar install
  1. Config base de dados

DUPLIQUE, não renomeie o arquivo config/autoload/doctrine_orm.local.php.dist para config/autoload/doctrine_orm.local.php e edite as configurações do banco

  1. Criando o banco e alimentando as tabelas

linux

php vendor/bin/doctrine-module orm:schema-tool:create
php vendor/bin/doctrine-module data-fixture:import

windows

vendor\bin\doctrine-module orm:schema-tool:create
vendor\bin\doctrine-module data-fixture:import
  1. Primeiro Acesso

Developer (You)

Login: developer
Senha: 123456

Administrator (Your client)

Login: admin
Senha: 123456

Demo: http://zend.jhonmike.com.br

Outros Comandos

Atualizar banco

linux

php vendor/bin/doctrine-module orm:schema-tool:update --force

windows

vendor\bin\doctrine-module orm:schema-tool:update --force

Apagar banco

linux

php vendor/bin/doctrine-module orm:schema-tool:drop --force

windows

vendor\bin\doctrine-module orm:schema-tool:drop --force

About

Skeleton Zend 2 + Admin + Authentication + Register User + Acl = Register Role, Register Resource and Register Privilege.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 71.0%
  • PHP 27.8%
  • ApacheConf 1.2%