Coder Social home page Coder Social logo

edenspiekermann / craft3-heroku-starterkit Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 6.0 2.63 MB

This is a starter kit for Craft3 which helps you to install the CMS on Heroku

License: MIT License

PHP 36.31% Batchfile 2.30% HTML 14.61% JavaScript 46.78%

craft3-heroku-starterkit's People

Contributors

dsteinel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

craft3-heroku-starterkit's Issues

(Heroku) Storage directory remains empty (unwritable), resulting in poor performance

First of all, thank you for creating this repository. It has been a headstart and I've been very happy to use it. There's one issue I can't wrap our heads around; which is the filesystem of Heroku. I've been outsourcing image/asset storage to Amazon S3 which works quite well with the tools provided for Craft. However, caching and specifically anything happening in the /storage directory is quite a pain.

I experience loading times from 5 seconds and up on a 1x Dyno from Heroku, whereas in our local setup, this isn't happening (it's around 300ms). I've been trying to use /tmp path and even file_put_contents() without craft is not working there (no error, it just gets ignored). I am quite curious how you cope with this challenge.

Thanks in advance. Cheers!

Recommendations for logging

There are a few options for logging Craft logs and errors with Heroku. Can you recommend one?

We have tried piping our logs to stdout using the Procfile, but we are still missing some important output.

web: vendor/bin/heroku-php-nginx -C docker/nginx/heroku.conf -l storage/logs/craft.log -l storage/logs/web.log -l storage/runtime/logs/app.log -l storage/logs/phperrors.log -l storage/logs/console.log -l storage/logs/feedme.log -l storage/logs/queue.log web/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.