The OpticaVault User Forum Forum Index
The OpticaVault User Forum
User Forum



Reply to topic
Setting up Magento on Mac OSX


Joined: 02 Mar 2013
Posts: 10
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

_________________
car loans with bad credit
View user's profileFind all posts by Emerson1Send private message
ForumsLand.com


Setting up Magento on Mac OSX
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
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic