WordPress へのコントリビューションにはいくつもの種類がありますが、
ここで扱うのはひとつだけ、 WordPress 本体(通称 Core)への貢献方法についてまとめます。
ざっくりいうと、以下の手順で進めます。
次の画面に遷移しますが、ここでは何もしなくても大丈夫です。(ウィンドウを閉じて OK )
先程設定したアドレス宛にメールが届いているので、メール内に記載されているリンクから
認証リンクをクリックします。
上記のページに飛ぶので、パスワードを確認し、必要であれば好きなパスワードに変更し、
「アカウントを作成」ボタンをクリックします。
※なお、パスワードの強度が不十分だとアカウント作成ボタンがクリックできないのでご注意ください。
アカウント作成が無事に完了すると、ログインした状態で上記のページの飛びます。
以上でアカウント作成が完了しました。
※手順通りやっていれば大丈夫だとは思いますが、先に wordpress.org でログインしておく必要があります
アカウント名のところには、先程 wordpress.org に登録したユーザー名を入力し、 Slack のユーザーを登録します。
以上で、 Slack への登録が完了しました。 #core チャンネルに参加しておきましょう。
home brew でさくっとインストールします。( Windows 環境の人は別途ググってください…w)
$ brew install subversion
$ svn --version
svn, version 1.10.0 (r1827917)
compiled Apr 15 2018, 10:26:53 on x86_64-apple-darwin17.5.0
Copyright (C) 2018 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.9 (compiled with 1.3.9)
- handles 'http' scheme
- handles 'https' scheme
The following authentication credential caches are available:
* Plaintext cache in /Users/xxxxx/.subversion
* Mac OS X Keychain
$ mkdir ~/wordpress-svn
$ cd ~/wordpress-svn
$ svn co https://develop.svn.wordpress.org/trunk/ .
wp-config.php を生成する
$ cp wp-config-sample.php src/wp-config.php
// ** MySQL settings ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'wordpress' );
/** MySQL database username */
define( 'DB_USER', 'wordpress' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password' );
// WP をデバッグモードにする
define('WP_DEBUG', true);
DB, ユーザーを作成する
$ echo 'GRANT ALL PRIVILEGES ON wordpress.* TO "wordpress"@"localhost" IDENTIFIED BY "password"; create database wordpress;' | mysql -u root
Apache のバーチャルホストを有効にする
※以下のコメントアウトを外す
# /etc/apache2/httpd.conf
# Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
Apache のバーチャルホストを設定する
# /etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "/Users/xxxxx/wordpress-svn/src"
ServerName wp.test
ServerAlias www.wp.test
<Directory "/Users/xxxxx/wordpress-svn/src">
Options FollowSymLinks Multiviews
MultiviewsMatch Any
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
Apache の再起動
$ sudo apachectl restart
新しい記事へ
[Django]サイト内検索を実装した話
mac に pip をインストールする
mac は標準で python が入っていますが、パッケージ管理の pip がインストールされていないので入れてみました。
2017/05/26 09:00
[GAS] Google Drive の特定フォルダ配下のフォルダ・ファイルの権限を一括で移譲する
Google Drive の特定フォルダ配下のファイル・フォルダの権限を一括で移譲するツールを Google Apps Script で作りました。
2018/11/10 15:54
[Windows] Ophcrack を使ってユーザーパスワードを解析する方法
家族で使っていた Windows7 のログインパスワードを忘れたため、Ophcrack を使って解析したときの記録です。
2017/09/30 21:00
[shell] フォルダ内にある大量の ZIP ファイルをまとめて解凍する
とある ZIP を解凍すると中に大量の ZIP が居たときに幸せになれるコマンドを紹介します
2018/06/19 23:45
[MySQL] データファイルから DB を復元する
先日 MySQL が再起動できなくなる問題が発生し、急遽データファイル(.frm, .ibd)から復元しました
2018/11/25 12:44