Code Monkey home page Code Monkey logo

pagopress's Introduction

Installation

Clone this repo.

  1. In your CLI, run composer install.

  2. configure local-config.php based on local-config-sample.php. (For subdirectory MAMP, please read the comment in the file. More in-depth here.)

    2.1 I think #2 is now redundant as the local file has already has SITE_URL covered....

  3. Hack away!

TODO:-

customized Roots
  • Remove roots activation script.
  • Select Roots as default themes inside local-config.php
must-have plugins
  • AWS Cloudfront & S3.
  • WordPress SEO.

Personalization

  1. In wp-config.php setup


(Original README below this line)

This is simply a skeleton repo for a WordPress site. It is a light weight repo that will allow you to quickly setup your configuration.

It was inspired by this post by Scott Walkinshaw Use it to jump-start your WordPress site repos, or fork it and customize it to your own liking! If you do not have an idea how to use composer, you can also check out his screencast

Assumptions

  • You have Composer installed.
  • WordPress as a root install in /wp/
  • Custom content directory in /app/ (cleaner)

Questions & Answers

Q: What process do I follow after a clone?
A: You will follow the next steps:

  • composer install ran from your command line in the cloned project directory
  • Rename or Copy wp-config-edit-and-rename.php to wp-config.php and change the necessary information changes (database, etc).
  • Run your project site /wp/wp-admin/ and under Settings >> General change the Wordpress Address to have /wp like http://www.example.com/wp and your Site Address would be http://www.example.com
  • Now, go fork this repo and play around with some custom installs of your own.

Q: Why are you including the plugins that install?
A: I like these as MY base, just fork this repo and create any list you want by changing the composer.json configuration.

Q: Why are there multiple composer json files?
A: The composer.json file is the base file for an install with some nice plugins. The others are my roots examples. To use the examples just copy and paste from one of them or rename into composer.json. I will add more as I find them useful. Fork and put in a pull request to add one, I might just add it!

Q: I copied the composer-roots.json to composer.json How do I compile and activate the roots theme?
A: This will put roots into the wp-content/theme/roots folder, but you must run the npm install command from the roots folder. You will then run grunt or grunt watch to compile roots assets. Now you can activate the roots theme in you Wordpress site.

Q: I am getting a redirect error, how do I solve?
A: More than likely, you are getting this error with a new setup. Remember, this is a custom install path using composer. Your install path should look like http://<server-name>/wp/wp-admin/install.php. By default, WordPress will try to go to the default /wp-admin/ path, but you want /wp/wp-admin/.

pagopress's People

Contributors

ajmalafif avatar

Stargazers

 avatar  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.