Giter Site home page Giter Site logo

cjpetrus / optipress Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.3 MB

an optimal php5 wordpress bedrock environment made for speed with docker nginx php-fpm/hhvm + letsencrypt certbot for ssl.

Nginx 0.02% Shell 0.01% PHP 71.15% CSS 13.71% JavaScript 15.11%

optipress's Introduction

#OptiPress an optimal php5 wordpress bedrock environment made for speed with docker nginx php-fpm/hhvm + letsencrypt certbot for ssl.

##Instructions

  1. Copy .env.example to .env and update environment variables:

    • DB_NAME - Database name
    • DB_USER - Database user
    • DB_PASSWORD - Database password
    • DB_HOST - Database host
    • WP_ENV - Set to environment (development, staging, production)
    • WP_HOME - Full URL to WordPress home (http://example.com)
    • WP_SITEURL - Full URL to WordPress including subdirectory (http://example.com/wp) AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, NONCE_KEY, AUTH_SALT, SECURE_AUTH_SALT, LOGGED_IN_SALT, NONCE_SALT
      • Generate with wp-cli-dotenv-command or from the Roots WordPress Salt Generator
  2. Add theme(s) in web/app/themes as you would for a normal WordPress site.

  3. Set your site vhost document root to /path/to/site/web/ (/path/to/site/current/web/ if using deploys) Access WP admin at http://example.com/wp/wp-admin

  4. Edit the docker-compose.yml to reflect recent changes.

  5. Run docker-compose and bring up your services.

  6. Enjoy. Blazing fast wordpress install "OptiPress"

###Warning: This environment is meant for dev. Would not use as-is in production.

optipress's People

Contributors

cjpetrus avatar

Watchers

James Cloos 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.