2017 © Pedro Peláez
 

project magento1-skeleton

Magento 1 skeleton project

image

danielsousa/magento1-skeleton

Magento 1 skeleton project

  • Saturday, May 14, 2016
  • by DanielSousa
  • Repository
  • 2 Watchers
  • 2 Stars
  • 40 Installations
  • Puppet
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 8 Versions
  • 3 % Grown

The README.md

Requirements

  1. Install VirtualBox 4.3.x
  2. Install Vagrant 1.7.x
  3. Install the vagrant-hostmanager plugin with vagrant plugin install vagrant-hostmanager

Create project with composer

composer create-project danielsousa/magento1-skeleton, (*1)

The First Vagrant Up

  1. Edit the Vagrantfile: vim Vagrantfile
    1. Change the VM IP if needed. Default is: 10.0.0.2 (10.0.0.1 is your machine)
    2. Change the RAM or number of CPUs if needed.
    3. On the puppet part: change the factors
      1. Change hostname with the development domain of your website
      2. Change db_* variables with your information or keep default values
  2. Start with any local operating system such as Mac OSX, Linux.
  3. Run vagrant up
  4. Run vagrant ssh
  5. Run sudo su && passwd vagrant
  6. Enter your password for the user vagrant, (*2)

  7. Connect to you database install sample data or restore backup., (*3)

What will install

  • Magento 1.9.2.2
  • reset-symlinks.sh script. Running this script all symlinks will be reset.
  • Make sure `Advanced > Developer > Template Settings > Allow Symlinks is enabled

Packages

Are installed:, (*4)

  • apache-mpm-itk (with magento virtualhost)
  • mysql-server (with custom my.cnf)
  • mysql-client
  • php5 (and some modules)
  • screen (with custom .screenrc for root)
  • vim
  • wget
  • curl
  • git
  • composer.phar
  • mailcatcher (gem)

For Magento developers

Additional information

Import database

If file exists database.sql.gz in the main directory (where the Vagrantfile is), puppet will import the database during the first up., (*5)

Virtualhost

Per default the variable MAGE_IS_DEVELOPER_MODE is set to true., (*6)

The virtualhost is set on the htdocs directory., (*7)

Mails

MailCatcher is installed and configured into the /etc/php5/apache2/php.ini file., (*8)

How it works

If mailcatcher is stopped: all emails are lost., (*9)

If mailcatcher is started: all emails are catched., (*10)

If you want to start MailCatcher, simply run this command (with vagrant user) : mailcatcher --ip 0.0.0.0, (*11)

Then go to : http://definedhostname:1080, (*12)

If you need to stop the mailcatcher daemon : Click on "Quit" on the top right corner of the MailCatcher Web UI., (*13)

Credits

This vagrant machine as created based on monsieurbiz project, (*14)

The Versions

14/05 2016

dev-master

9999999-dev

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento

29/11 2015

1.0.1

1.0.1.0

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento

29/11 2015

1.0.0

1.0.0.0

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento

25/11 2015

v0.0.5

0.0.5.0

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento

24/11 2015

v0.0.4

0.0.4.0

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento

24/11 2015

v0.0.3

0.0.3.0

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento

07/11 2015

v0.0.2

0.0.2.0

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento

06/11 2015

v0.0.1

0.0.1.0

Magento 1 skeleton project

  Sources   Download

GPL-2.0

The Requires

 

by Daniel Sousa

magento