Code Monkey home page Code Monkey logo

php-cli-magedev's Introduction

Magedev

Magedev is a shell tool for local Magento development. It helps you to get a project up and running much easier by automating cumbersome tasks. Escpecially, Magento2 is not easy to setup and install all required dependencies.

Experimental software

Beware: this is experimental software still in heavy development. There might still be breaking changes. Use it on your own risk.

Requirements

  • Linux
  • PHP 5.6 or above
  • docker 1.10 or above

Magedev uses Docker to orchestrate required services in containers. Make sure you have Docker installed on your system. You may use the official install script:

curl -sSL https://get.docker.com/ | sh

Or with wget:

wget -qO- https://get.docker.com/ | sh

Installation

Magedev is a command line tool. Download latest version with download script or grab it from the releases folder.

curl -sSL https://raw.githubusercontent.com/teamneusta/php-cli-magedev/master/download-latest.sh | sh

Make sure magedev lies in your PATH, move it somewhere e.g. ~/bin:

mv magedev ~/bin

Updating magedev

To update your copy of magedev, you may use the self-update command like this:

magedev self-update

Usage

See the documentation.

Magento2 Installation at warp speed

git clone https://github.com/magento/magento2.git && cd magento2
cat >magedev.json <<'EOL'
{
  "magento_version": "2",
  "domain": "magento2.local"
}
EOL
magedev docker:start
magedev magento:install
curl magento2.local

License

The MIT License (MIT). Please see License File for more information.

php-cli-magedev's People

Contributors

aweb3r avatar bka avatar cproboscht avatar kamiyang avatar renttek avatar yariksheptykin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

aweb3r bka

php-cli-magedev's Issues

Project name from magedev.json is replaced with folder name

In the latest release, the project name is replaced by the folder name of the current working directory, even if the project name is set in magedev.json.

This results in errors while building/starten containers and renders magedev useless.
A PR is on the way

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.