Giter Site home page Giter Site logo

eniuz / simple-magento-vagrant-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from klierik/simple-magento-vagrant

0.0 2.0 0.0 53.63 MB

Simple-Magento-Vagrant -- ultra light Vagrant development environment for running Magento CMS

Ruby 41.23% Shell 58.77%

simple-magento-vagrant-1's Introduction

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. You can re-configure for personal use in you development. See How to use and/or customize section for more information.

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
  • Adminer 3.7.1(formerly phpMinAdmin)

Folders structure:

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

Requirements:

Default configuration

File system:

nfs: true
mount_options: ["nolock", "async"]
bsd__nfs_options: ["alldirs","async","nolock"]
config.nfs.map_uid = 0
config.nfs.map_gid = 0

VirtualBox settings:

Memory adn CPU cores by default: 1/8 of all memory and all cores (for Windows user 2 cores and 1024 memory) 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: simple-magento-vagrant.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 "simple-magento-vagrant" ==> "my-personal-magento-site-name" or what you need

  2. Open bootstrap.sh and use find/replace tool to change "simple-magento-vagrant" ==> "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 Simple-Magento-Vagrant zip archive (and unpack it) or run '$ git clone [email protected]:klierik/simple-magento-vagrant.git' in your test folder. Then go to vagrant folder. For example '$ cd /Volumes/Data/http/htdocs/simple-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://simple-magento-vagrant.dev/ in your browser and install Magento.

Good luck ;)

simple-magento-vagrant-1's People

Contributors

klierik avatar

Watchers

Mariusz Szot avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.