25 pointsStarting to get into this DEV thingI'm new here
Aydogan
Member
—
24th January 2011 (1 year ago)
Hi there,
I am planning to have a test environment for my WPMU+BuddyPress+bbPress installation. One idea is to buy a domain and implement a test site there and the other is to make a local implementation (I hope).
What are the tools/sw required to have a local test environment. Where can they be found? I really need a complete list since I am not an expert on sw.
I am planning to have a test environment for my WPMU+BuddyPress+bbPress installation. One idea is to buy a domain and implement a test site there and the other is to make a local implementation (I hope).
What are the tools/sw required to have a local test environment. Where can they be found? I really need a complete list since I am not an expert on sw.
It's a simple way of installing all the basic files (Apache web server, MySql, PHP, phpMyAdmin) needed to run the Wordpress installer on a local computer. Once it's installed, you can then create a database in phpMyAdmin and proceed to install Wordpress using that database.
There are a number of tutorials on Youtube and elsewhere on the internet for getting MAMP (and the other AMP variants) up and running. The MAMP site itself has good documentation as well.
I thankful I stumbled upon this post. I've been testing on a separate domain rather then my local machine. I have windows so MAMP won't work for me as it is for MAC's. I checked out the first link DavidM posted and followed through to check out EasyPHP. http://www.easyphp.org/ I downloaded it and the WordPress module and am up and running and testing already on my local machine.
Now if I can find out how to point my domains to my local machines I'll be even more grateful. Any suggestions?
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
24th January 2011 (1 year ago)
#
+1 for the local environment. Makes things harder to make sure that what you have is 100% of what's on the site but it;s a lot easier to test things out locally instead of over the net. Plus you don;t have to worry about your ISP caching nor do you have to worry about picking up yet another domain.
I should take a picture of my external hard drive some day. :)
10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
30th January 2011 (1 year ago)
#
@dapadoo
to have domains load on your site for your computer only, you'll need to edit your hosts file to point any domains (normally to 127.0.0.1) as per here: http://vlaurie.com/computers2/Articles/hosts.htm
Or were you looking to point the live sites to your local computer? I definitely wouldn't recommend that :)
I was working on having MAMP installed and running for WPMU and WP since I have both of them in my real life. Well here is what I have experienced and could recommend
- buy MAMP Pro - it has sorted out lots of things.
- before everything set up MAMP Pro to default ports, if you want to run WPMU.
- if you want to run only WP then you can use MAMP ports (8888) as well, but I would still suggest to use default ports (80)
- do not forget to add below to have WPMU capability
define('WP_ALLOW_MULTISITE', true);
to your wp-config.php
- I preferred to use subdirectories other than subdomains since when you have MAMP as local ISP WPMU allows you to use subdirectories only, not subdomains. For the latter you should do some more tricks.
- do not forget to add below after you selected subdirectories or subdomains. This is a recommendation from WPMU network enabler.
- do not bother to find .htaccess file in MAMP usage. All works without this.
- If you have already installed MAMP Pro with ports 8888 then you will have some error messages during WPMU setup. Do not panic. Try to edit your wp-config.php file. Most probably you either made a typo or forgot port numbres next to database name, etc. Check them. Clear them. and Refresh your SAFARI with Command+R
- I had MAM PRO installed with port 8888 and I have managed to get it to work with port 80 WITHOUT ANY REINSTALLATIONS of either MAMP PRO or WORDPRESS
- In case of any error do not do anything before checking your wp-config.php If you are sure that it is perfect then use logs of MPAM PRO Read all of them starting from bottom. Do not blame yourself since you are not a technical guy. There is still English text inside the logs. The ones that you can sort are very visible.
- DO NOT COPY/PASTE contetns of wp-config.php from web site (for example from above) into your file. If you did, ensure that quotation marks are simple (')
I am on my way to install BuddyPress and bb to my local.
Above is my experience on WPMU installation over MAMP PRO. If you do not find any help in it that is fine but do not ask me more. That is all I have and hoping to share more in the future.
Responses (10)
WPMU DEV Fanatic — 24th January 2011 (1 year ago) #
Hello there aydogan,
If I understand you correctly, you'll likely want something like AMP.
http://en.wikipedia.org/wiki/List_of_AMP_packages
Or more specifically, MAMP.
http://www.mamp.info/en/index.html
It's a simple way of installing all the basic files (Apache web server, MySql, PHP, phpMyAdmin) needed to run the Wordpress installer on a local computer. Once it's installed, you can then create a database in phpMyAdmin and proceed to install Wordpress using that database.
There are a number of tutorials on Youtube and elsewhere on the internet for getting MAMP (and the other AMP variants) up and running. The MAMP site itself has good documentation as well.
I hope that helps.
Cheers,
David
Developer — 24th January 2011 (1 year ago) #
Yeay - that makes it easier :)
As david suggested above, grab MAMP and set that up, it's the easiest way - you can even set up a multi-db test site install with it ( I have :) ).
After that you want to edit your hosts file: http://support.apple.com/kb/TA27291?viewlocale=en_US
You can set up as many fake domains as you want on your machine. But as an example I have:
devsite.com pointing to my local machine and
testmap.com also pointing to it so I can test domain mapping :)
Member — 24th January 2011 (1 year ago) #
Thanks let me try and come back...
Member — 24th January 2011 (1 year ago) #
@DavidM Welcome to the support staff.
I thankful I stumbled upon this post. I've been testing on a separate domain rather then my local machine. I have windows so MAMP won't work for me as it is for MAC's. I checked out the first link DavidM posted and followed through to check out EasyPHP. http://www.easyphp.org/ I downloaded it and the WordPress module and am up and running and testing already on my local machine.
Now if I can find out how to point my domains to my local machines I'll be even more grateful. Any suggestions?
Keeper of the Dark Chocolate — 24th January 2011 (1 year ago) #
+1 for the local environment. Makes things harder to make sure that what you have is 100% of what's on the site but it;s a lot easier to test things out locally instead of over the net. Plus you don;t have to worry about your ISP caching nor do you have to worry about picking up yet another domain.
I should take a picture of my external hard drive some day. :)
Sales & Support Lead — 30th January 2011 (1 year ago) #
@dapadoo
to have domains load on your site for your computer only, you'll need to edit your hosts file to point any domains (normally to 127.0.0.1) as per here:
http://vlaurie.com/computers2/Articles/hosts.htm
Or were you looking to point the live sites to your local computer? I definitely wouldn't recommend that :)
Keeper of the Dark Chocolate — 30th January 2011 (1 year ago) #
And put it on your desktop or laptop. Don;t put it on your external. I left mine home today. :(
Member — 31st January 2011 (1 year ago) #
@masonjames Thanks, I'll read over the information in the next day or two. Getting real busy.
@drmike I installed it on my desktop. If I need to access it away from home I could with logmein.
Member — 31st January 2011 (1 year ago) #
Here's another link that may be a little outdated but it has all the steps for a local Wordpress environment: http://www.fullcoursemeal.com/business/this-might-be-a-little-overboard/
Hope it helps,
Chais
Member — 10th April 2011 (1 year ago) #
Hi,
I was working on having MAMP installed and running for WPMU and WP since I have both of them in my real life. Well here is what I have experienced and could recommend
- buy MAMP Pro - it has sorted out lots of things.
- before everything set up MAMP Pro to default ports, if you want to run WPMU.
- if you want to run only WP then you can use MAMP ports (8888) as well, but I would still suggest to use default ports (80)
- do not forget to add below to have WPMU capability
define('WP_ALLOW_MULTISITE', true);
to your wp-config.php
- I preferred to use subdirectories other than subdomains since when you have MAMP as local ISP WPMU allows you to use subdirectories only, not subdomains. For the latter you should do some more tricks.
- do not forget to add below after you selected subdirectories or subdomains. This is a recommendation from WPMU network enabler.
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/tangosfer/';
define( 'DOMAIN_CURRENT_SITE', 'localhost' );
define( 'PATH_CURRENT_SITE', '/tangosfer/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
/* That's all, stop editing! Happy blogging. */
- do not bother to find .htaccess file in MAMP usage. All works without this.
- If you have already installed MAMP Pro with ports 8888 then you will have some error messages during WPMU setup. Do not panic. Try to edit your wp-config.php file. Most probably you either made a typo or forgot port numbres next to database name, etc. Check them. Clear them. and Refresh your SAFARI with Command+R
- I had MAM PRO installed with port 8888 and I have managed to get it to work with port 80 WITHOUT ANY REINSTALLATIONS of either MAMP PRO or WORDPRESS
- In case of any error do not do anything before checking your wp-config.php If you are sure that it is perfect then use logs of MPAM PRO Read all of them starting from bottom. Do not blame yourself since you are not a technical guy. There is still English text inside the logs. The ones that you can sort are very visible.
- DO NOT COPY/PASTE contetns of wp-config.php from web site (for example from above) into your file. If you did, ensure that quotation marks are simple (')
I am on my way to install BuddyPress and bb to my local.
Above is my experience on WPMU installation over MAMP PRO. If you do not find any help in it that is fine but do not ask me more. That is all I have and hoping to share more in the future.
good luck,
Aydogan
Become a member