2017 © Pedro Peláez
 

library multiple-apps-support

image

issei/multiple-apps-support

  • Wednesday, July 17, 2013
  • by issei-m
  • Repository
  • 1 Watchers
  • 5 Stars
  • 935 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Symfony Multiple Applications Support

•¡”ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚ð‰^—p‚·‚é Symfony2 Standard Edition ƒvƒƒWƒFƒNƒgiÚ‚µ‚­‚Í‚±‚¿‚çj‚̃Rƒ}ƒ“ƒhŽÀs‚ð•⏕‚µ‚Ü‚·B
—Ⴆ‚Îcache:clear“™‚̃Rƒ}ƒ“ƒh‚ðA‚·‚ׂẴAƒvƒŠƒP[ƒVƒ‡ƒ“ã‚ŏ‡ŽŸŽÀs‚·‚鎖‚ª‚Å‚«‚Ü‚·B, (*1)

Žg‚¢•û

Composer ‚ŃCƒ“ƒXƒg[ƒ‹‚µ‚Ü‚·B, (*2)

$ php composer.phar require issei/multiple-apps-support:dev-master

binƒfƒBƒŒƒNƒgƒŠ‚Éconsole‚ÆŒ¾‚¤‹¤’ʃRƒ“ƒ\[ƒ‹‚ª¶¬‚³‚ê‚Ü‚·B
Œ»ÝAcache:clear,assets:install,assetic:dump‚Ì3‚‚ðƒTƒ|[ƒg‚µ‚Ä‚¢‚Ü‚·B, (*3)

cache:clear

$ bin/console cache:clear --no-warmup --env=prod
> Excuting command on frontend...
> Clearing the cache for the prod environment with debug false
> Excuting command on api...
> Clearing the cache for the prod environment with debug false

‚·‚ׂ睂¶ˆø”•ƒIƒvƒVƒ‡ƒ“‚ÅŽÀs‚³‚ê‚Ü‚·B, (*4)

assets:install

$ bin/console assets:install --symlink
> Excuting command on frontend...
> Installing assets using the symlink option
> Installing assets for Symfony\Bundle\FrameworkBundle into web/frontend/bundles/framework
> Excuting command on api...
> Installing assets using the symlink option
> Installing assets for Symfony\Bundle\FrameworkBundle into web/api/bundles/framework

‘æ1ˆø”iƒfƒtƒHƒ‹ƒgFwebj‚É/%kernel.name%‚ª•t—^‚³‚ê‚Ü‚·BƒIƒvƒVƒ‡ƒ“‚Í‹¤’ʂ̕¨‚ªŽg—p‚³‚ê‚Ü‚·B
¦-watch,--force,--perodƒIƒvƒVƒ‡ƒ“‚ÍŽg—p‚Å‚«‚Ü‚¹‚ñB, (*5)

assetic:dump

$ bin/console assetic:install --env=prod --no-debug web
> Excuting command on frontend...
> Dumping all prod assets.
> Debug mode is off.
> 
> xx:xx:xx [file+] $(PROJECT_ROOT)/apps/frontend/../../web/frontend/css/xxxxxx.css
> xx:xx:xx [file+] $(PROJECT_ROOT)/apps/frontend/../../web/frontend/js/xxxxxx.js
> Excuting command on api...
> Dumping all prod assets.
> Debug mode is off.
> 
> xx:xx:xx [file+] $(PROJECT_ROOT)/apps/api/../../web/api/css/xxxxxx.css
> xx:xx:xx [file+] $(PROJECT_ROOT)/apps/api/../../web/api/js/xxxxxx.js

‘æ1ˆø”iƒfƒtƒHƒ‹ƒgF%assetic.write_to%j‚ªŽw’肳‚ꂽê‡‚̂݁A/%kernel.name%‚ª•t—^‚³‚ê‚Ü‚·BƒIƒvƒVƒ‡ƒ“‚Í‹¤’ʂ̕¨‚ªŽg—p‚³‚ê‚Ü‚·B, (*6)

Symfony Standard Edition ‚Å•¡”ƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚ð‰^—p‚·‚é



•¡”‚̃AƒvƒŠƒP[ƒVƒ‡ƒ“i—á‚Å‚Ífrontend, apij‚̃J[ƒlƒ‹AƒRƒ“ƒtƒBƒMƒ…ƒŒ[ƒVƒ‡ƒ“AƒLƒƒƒbƒVƒ…“™‚ðŒÅ—L‚̃AƒvƒŠƒP[ƒVƒ‡ƒ“–¼‚ð•t‚¯‚½ƒfƒBƒŒƒNƒgƒŠ‚É“ü‚êAapps“à‚ÅŠÇ—‚µ‚Ü‚·B
webƒfƒBƒŒƒNƒgƒŠ‚É‚àƒAƒvƒŠƒP[ƒVƒ‡ƒ“–ˆ‚ɁA‘Ήž‚·‚éƒAƒvƒŠƒP[ƒVƒ‡ƒ“‚̃fƒBƒŒƒNƒgƒŠ–¼‚ŃlƒXƒg‚µ‚ĉº‚³‚¢B, (*7)

¦‚±‚̃A[ƒLƒeƒNƒ`ƒƒ‚̏ڍׂ͈ȉº‚ð‚²ŽQÆ‰º‚³‚¢B
* Multiple applications with Symfony2
* symfony1 ƒ†[ƒU[‚Ì‚½‚ß‚Ì Symfony2, (*8)

The Versions

17/07 2013

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Issei Murasawa

symfony multiple apps