Coder Social home page Coder Social logo

marceloglacial / snowpress-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.53 MB

A Wordpress boilerplate optimized for Docker and Heroku

Home Page: https://github.com/marceloglacial/snowpress-boilerplate

License: MIT License

Dockerfile 0.92% Shell 5.74% PHP 93.34%
wordpress wordpress-development heroku docker wordpress-heroku wordpress-docker wordpress-bedrock-sandbox

snowpress-boilerplate's Introduction

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.

snowpress-boilerplate's People

Contributors

marceloglacial avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.