Git Product home page Git Product logo

bueller's People

Contributors

mhulse avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

bueller's Issues

How to setup fresh WP submodule

  1. Create new repo.
  2. Clone repo locally.
  3. Add boilerplate files from this repo (don't copy the .gitmodules and wp folder).
  4. In terminal, cd to your repo and run $ git submodule add git://github.com/WordPress/WordPress.git wp
  5. Next, move to the wordpress folder: $ cd wp.
  6. View tags: git fetch --tags && git tag -n.
  7. Check out latest tag: $ git checkout 3.8.
  8. Commit your changes.

Salts

Make note in readme about setting your salts. Maybe link to the official WP installation instructions.

Readme fixes

This line:

Include /Applications/XAMPP/etc/extra/httpd-vhosts.confInclude /Applications/XAMPP`

This line:

Duplicate wp-config-sample.php and fill-in the database connection information.

... should say something like:

Duplicate wp-config-sample.php, rename it to wp-config.php, and fill-in the database connection information.

Add to wp-config-sample.php

I like this setup for logging errors:

//--------------------------------------------------------------------

/**
 * This will log all errors notices and warnings to a file called
 * `debug.log` in `/wp-content`. If Apache does not have write permission,
 * you may need to create the file first and set the appropriate `666`
 * permissions.
 *
 * ```
 * $ tail -f wp-content/debug.log
 * ```
 *
 * @see http://wordpress.stackexchange.com/a/69552/32387
 */

define('WP_DEBUG', TRUE);
define('WP_DEBUG_LOG', TRUE);
define('WP_DEBUG_DISPLAY', FALSE);
@ini_set('display_errors', 0);

//--------------------------------------------------------------------

/**
 * @see http://codex.wordpress.org/Hardening_WordPress#Securing_wp-config.php
 */

define('DISALLOW_FILE_EDIT', true);

Taken from: Define WP_DEBUG conditionally / for admins only / log errors (append query arg for all links?)

Docs on cloning

I need to re-word my statements about cloning. Up until now, I've assumed that the git@github... URIs were for push/pull with the proper credentials.

From what I've read here:

Which remote URL should I use?

... that both will work if you have the creds setup properly.

Couple issues

  1. Make note on SSH tunneling and commenting out local db settings
  2. Determine where error log appears. Content folder?

Line of README

Change:

This is a simple starting point for WordPress installs.

... to:

A simple starting point for WordPress installs.

Clone

The instructions use ssh to clone. Might want to make note that one should clone this repo and do that, or use HTTPS. After all, this is more "notes to self" than it is "notes to everyone else", so I probably should keep it mostly useful to me, as no one (other than me) will probably ever use this code. ๐Ÿ˜„

DB Collation

Might want to make not in README of best db collation. I think that's utf8_general_ci.

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.