Magento & Waterlee Easy install

Author

Marjan Bonus

1 minutes read

Why spend more time installing when you can spend your time on development?

When you can't use vagrant or you're just a purist.

This little script  will auto install Magento & Waterlee boilerplate that we use mostly for quick module testing, fast dev environment installation etc.

Script was meant to be called with two parameters, one for Magento installation folder name and second for MySQL database name which will be used by Magento like it's shown on picture below.

Auto install Magento & Waterlee boilerplate

What it does:

  • Downloads and installs the latest version of Magento (v 1.9.0.1) into desired folder ( parameter $1)
  • Changes the permissions of media var & app/etc folder
  • Initializes empty git repository, adds the remote and pulls Waterlee boilerplate repo which is updated and compatibile with last version of Magento.
  • Creates desired MySQL database for Magento (parameter $2)
  • Removes downloaded magento-1.9.0.1.tar.gz file.

Modifications

Only two things you'll need to change in the script are  your mysql username and password  with assumption that  you have git installed. The script needs to have permission to write so chmod at least to "744".

Running the script

After you've  entered the data,  run './mage-script.sh folder_name db_name' and it should seem something like this!

Auto install Magento & Waterlee boilerplate
Your Magento should now be easily installed via web installation.
Little icon
Author

Marjan Bonus

Magento Front-end Developer

«   Previous post Next post   »

Reach Out

Want to work with us?

Working on something cool?

Let’s make it happen.

Get in touch

Based in Osijek, Croatia.

The Croatian Magento Capital.