nfqakademija / kickstart

OFFICIAL NFQ Academy Symfony 4 start project setup with the included docker local dev env.
4 stars 68 forks source link

Fix script to simulate production environment #36

Closed aurelijusbanelis closed 5 years ago

aurelijusbanelis commented 5 years ago

So there will not be strange MakerBundle not found issues. We need to use APP_ENV consistently.

Using simple yarn (not yarn --environment=production), because assets are intended to be build before deploying to LIVE server and server should have only compiled assets (no need for Node.js).

Added install-first.sh, because we needed some command to just install dependencies and see something working. install-prod.sh could make too much errors/warnings for the daily usage. install-dev.sh is useful for watching file changes for JavaScript/CSS changes.

aurelijusbanelis commented 5 years ago

Related: https://github.com/nfqakademija/kickstart/pull/28

aurelijusb commented 5 years ago

Need to update scripts/start.sh documentation.