Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

marceloglacial/snowpress-boilerplate

Open more actions menu

Repository files navigation

Heroku

SnowPress Boilerplate

A WordPress installation optimized for Docker and Heroku

Live Demo

Stack and Features

How to Install

Local development

  1. Make sure docker is running
  2. Config your .env file using .env.example as template
  3. Open your terminal
  4. Run: composer update
  5. Run: npm run dev
  6. Open your local wordpress: http://localhost:8080

Heroku Setup

  1. Connect your github repository to heroku
  2. Enable Automatic deploys on Deploy page
  3. Add JawsDB Maria on your add-ons
  4. Add Heroku Redis on your add-ons
  5. Add heroku/php on your buildpacks (settings page)
  6. Add your .env variables on settings page
  7. Configure your Uptime Robot to 20 min to avoid dyno resets
  8. Open your app

IMPORTANT

Heroku ephemeral filesystem is not suitable for persistent storage of data/files. That's why Cloudinary Plugin is a mandatory setup.

Make sure to select Cloudinary Only on Cloudinary > Media settings > Sync > Storage.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.