Skip to content

gasperhafner/magento-vagrant-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

https://docs.google.com/presentation/d/1LVL8atZW6JOQhjkdxsJ5whc6JVNZOpKKiOD_0_PRdDw/edit?usp=sharing

Looking for Magento2 Vagrant environment?

If you interesting about Magento2 Vagrant environment you can find it here

What is that?

Simple-Magento-Vagrant -- ultra light Vagrant development environment for running Magento CMS, based on Ubuntu Precise 64. I create this repo for my self as easyest way install Magento and share with you.

After installation you will get clean Magento 1.9.2.3 with sample data 1.9.1.0.

What do you get?

  • Ubuntu 14.04 + Apache2 + Php5 + MySQL 5.5.x
  • Magento 1.9.2.3 with sample data 1.9.1.0

Folders structure:

$ tree -L 2
.
├── README.md
├── magento
└── vagrant
    ├── httpdocs 
    ├── Vagrantfile 
    └── bootstrap.sh

Requirements:

Default configuration

VirtualBox settings:

Memory adn CPU cores by default: 1 core, 2048MB Network host-guest configuration:

config.vm.network :forwarded_port, guest: 80, host: 8999
config.vm.network :forwarded_port, guest: 22, host: 2299

Magento info and options

DB name: magento

DB user name: magento

DB user password: password

Web server configuration

Server name: magento.dev

How to use and/or customize.

It will be work out of box but you can edit configuration if you need.

Change domain name

  1. Open Vagrantfile and use find/replace tool to change "magento" ==> "my-personal-magento-site-name" or what you need

  2. Open bootstrap.sh and use find/replace tool to change "magento" ==> "my-personal-magento-site-name" or what you need

Change network private ip

Open Vagrant file and find node.vm.network :private_network, ip: '192.168.99.99' ==> change ip

Change forwarded port

Open Vagrantvile and find config.vm.network :forwarded_port, guest: 80, host: 8999 ==> change host port

Change Synced folder

I prefer use different folders for vagrant and project. For example:

.
..
magento    - magento project folder
vagrant    - vagrant folder

That's why i sync my folders in this way config.vm.synced_folder "../magento/", "/vagrant/httpdocs". Change ../magento/ path to folder with your project (it can be relative or absolute url).

How to run?

Download latest magento-vagrant-box zip archive (and unpack it) or run '$ git clone [email protected]:gasperhafner/magento-vagrant-box.git' in your test folder. Then go to vagrant folder. For example '$ cd /Volumes/Data/http/htdocs/magento-vagrant/vagrant/' Run $ vagrant up in your vagrant options.

PS: via installation you can be asked for password

After installation is finished open http://magento.dev/ in your browser and install Magento.

Good luck ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published