Legionnaires of An Lushan
A Social World of Warcraft Guild





Legionnaires of An Lushan Forum IndexGeneral/Off TopicSetting up Magento on Mac OSX
The time now is Fri Jul 18, 2025 3:04 am

Reply to topic View previous topic View next topic
Author
Emerson1



Joined: 28 Feb 2013
Posts: 10

Thu Feb 28, 2013 5:32 am
Message
Setting up Magento on Mac OSX Reply with quote
There have been plenty of posts dotted around the Magento community helping to get a local testing version of Magento set up on your machine, but here is a quick tip (as a reminder to me too!) Try this installation guide for a quick start. Once you have got Magento installed, you can download all the site files for your store via ftp and install the database.

Next, open up your /private/etc/hosts in a text editor. (I use Text Wrangler from Barebones software). You can get at it by going to File > Open Hidden… and navigating to your main Macintosh HD drive.

Edit the file so it looks something like this:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost

# my websites
127.0.0.1 www.localhost.com
127.0.0.1 http://www.localhost.com/magento
127.0.0.1 http://www.localhost.com/mywebsite

Once you have done this, you will need to edit your store database to reflect this. Go to the database and do a wildcard search (%mywebsite%) on the core_config_data table.

Edit both the web/unsecure/base_url & web/secure/base_url fields so the value is:

http://www.localhost.com/mywebsite/ making sure the trailing forward slash is there!

Restart MAMP and you’re good to go, using your new url to check out your site
_________________
bad credit car loans
View user's profileSend private messageFind all posts by Emerson1

Author
Free Forum






 
Message
ForumsLand.com

Reply to topic Page 1 of 1

Legionnaires of An Lushan Forum IndexGeneral/Off TopicSetting up Magento on Mac OSX
The time now is Fri Jul 18, 2025 3:04 am
All times are GMT - 6 Hours
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosted by ForumsLand.com - 100% free forum. Powered by phpBB 2.