Skip to content

stephenkidwell/MageBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magebox 2.0

MageBox is a dead simple Vagrant LEMP Box for Magento 2 Development with tools like Composer, Nodejs & Git. This box is inspired from Scotch Box.

Features

  • Ubuntu 14.04 LTS Trusty Tahir
  • Nginx v1.4.6
  • MySQL v5.6.30
  • PHP v7.0
  • Composer v1.0
  • Node v5.10.1
  • NPM v3.8.3
  • Git v1.9.1
  • PhpMyAdmin

Installation

Box Installation

  • Download and Install Vagrant
  • Download and Install VirtualBox
  • Clone the MageBox GitHub Repository git clone https://github.com/IamSwap/MageBox project-name
  • Change current directory to project cd project-name
  • Run vagrant up
  • You can place your project files into public directory or proceed for magento installation
  • Access Your Project at http://192.168.33.10/

Magento Installation

  • Run vagrant ssh
  • Change current directory to cd /home/vagrant/public
  • Clone Magento Repository git clone https://github.com/magento/magento2 --depth=1 .
  • Run composer install & Follow installation instructions.

Basic Vagrant Commands

Here are some useful basic vagrant commands.

Start or resume your server

vagrant up

Pause your server

vagrant suspend

Delete your server

vagrant destroy

SSH into your server

vagrant ssh

Setting a Hostname

To set hostname, just add a record like the following example to your computer's host file.

192.168.33.10 mage.dev

Database Access

MySQL

  • Hostname: localhost or 127.0.0.1
  • Username: root
  • Password: root
  • Database: magento

PhpMyAdmin

Access PhpMyAdmin at http://192.168.33.10/phpmyadmin/

  • Username: root
  • Password: root

SSH Access

User simple command for ssh into box vagrant ssh or use these credentials

  • Hostname: 127.0.0.1:2222
  • Username: vagrant
  • Password: vagrant

About

A Simple Vagrant Box for Magento 2 with LEMP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published