Plugin Directory

Changeset 3235960


Ignore:
Timestamp:
02/06/2025 11:19:38 AM (13 months ago)
Author:
iteras
Message:

Added MySQL development details

Location:
iteras/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • iteras/trunk/DEVELOPMENT.txt

    r2879152 r3235960  
    22
    33== Setting up a fresh Wordpress ==
     4
     5For SQLite:
    46
    57Download and setup latest Wordpress and SQLite plugin:
     
    911   cd wordpress/wp-content/plugins/ && git clone https://github.com/aaemnnosttv/wp-sqlite-db.git && cp wp-sqlite-db/src/db.php ../ && cd ../../../
    1012
     13For MysQL:
     14
     15  wget https://wordpress.org/latest.tar.gz && tar zxf latest.tar.gz && rm latest.tar.gz && sed -e 's/database_name_here/wordpress_db/g' -e "s@localhost@localhost:${PWD}/testdb/mysql.sock@g" -e "s/'WP_DEBUG', false/'WP_DEBUG', true/" < wordpress/wp-config-sample.php > wordpress/wp-config.php
     16
     17  ./start-mysql-dev.sh
     18
    1119Enable debugging in wp-config.php, the debug log is available in wp-content/debug.log:
    1220
     
    1523   define( 'WP_DEBUG_DISPLAY', false ); // only log to file
    1624
    17 Symlink the Iteras plugin:
     25Symlink the Iteras plugin (remember to activate the plugin in Wordpress admin):
    1826
    1927   cd wordpress/wp-content/plugins && ln -s ../../../ iteras
Note: See TracChangeset for help on using the changeset viewer.