Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- DocumentRoot "/Users/your_name/Sites/domain"
- ServerName domain.com #This should be the same as what was added to your host file
- </VirtualHost>
- #Uncomment line 112:
- LoadModule php5_module libexec/apache2/libphp5.so
- #Change your directives line 247
- <Directory />
- Options FollowSymLinks
- AllowOverride All
- Order deny,allow
- Allow from ALL
- </Directory>
- #Map your vhost file line: 621
- # Virtual hosts
- Include /private/etc/apache2/extra/httpd-vhosts.conf
- <Directory "/Users/yourname/Sites/">
- Options Indexes MultiViews
- AllowOverride All
- Order allow,deny
- Allow from All
- </Directory>
- if ( file_exists( dirname( __FILE__ ) . '/local-config.php' ) ) {
- include( dirname( __FILE__ ) . '/local-config.php' );
- define( 'WP_LOCAL_DEV', true );
- } else {
- define( 'DB_NAME', 'production_db' );
- define( 'DB_USER', 'production_user' );
- define( 'DB_PASSWORD', 'production_password' );
- define( 'DB_HOST', 'production_db_host' );
- }
- new CWS_Disable_Plugins_When_Local_Dev( array( 'vaultpress.php' ) );
- mkdir /sites/domain-name
- cd /sites/domain-name
- svn co http://core.svn.wordpress.org/tags/3.2.1 .
- # Get the devilbox
- $ git clone https://github.com/cytopia/devilbox
- $ cd devilbox
- # Create docker-compose environment file
- $ cp env-example .env
- # Edit your configuration
- $ vim .env
- # Start all containers
- $ docker-compose up
Add Comment
Please, Sign In to add comment