- edited description
Create deploy script
Issue #6
on hold
We need a couple of Laravel commands to be run during deployment to speed up the application, like cache creation and such:
./artisan route:cache
./artisan config:cache
We also need a custom .env
file for production.
Finally, the public/build
folder should have its contents ignored and recompiled during every build, with production mode enabled.
Comments (12)
-
reporter -
reporter Adding some deployment commands to project dockerfile. refs #6
→ <<cset 7058f206c8a5>>
-
reporter - changed status to open
-
reporter -
reporter - edited description
-
reporter Testing assets compilation in production. refs #6
→ <<cset cbfa468bbec3>>
-
reporter - changed status to closed
Enabling production deploy procedure. closes #6
- using a fake remote validation route (refs #91)
- updating Laravalid so we can use that new route
→ <<cset 63865315eb37>>
-
reporter Ignoring compilable assets. closes #6, refs #46
→ <<cset 59478ac9ab15>>
-
reporter - changed status to on hold
Disabling config:cache since it bugs on Heroku. holds #6
→ <<cset 333bd2d4dc90>>
-
reporter -
reporter - removed version
- removed milestone
-
reporter Current needs:
- custom
.env
for production - config:cache working on production
- running
./artisan down
before install and./artisan up
after - usage of
composer compile
command
- custom
- Log in to comment