Git Product home page Git Product logo

magento-local's Introduction

Local Magento 2.4 API Development

This project gives Mac/Linux users a local Magento 2.4 instance with some dummy data to develop against.

After cloning this repository, ensuring Docker is running, you can simply run:

$ make

After doing so, and waiting for a not inconsiderable amount of time, you will see a message along the lines of:

Magento configured!
Frontend: http://magento2.local
GraphQL: http://magento2.local/graphql
Admin: http://magento2.local/admin_panel
u: [email protected]
p: magento2password!

NB: If this is your first time, run make host_setup to configure local DNS

These URLs require a local DNS entry:

127.0.0.1 magento2.local

You can manually edit your /etc/hosts file to add that, or run the following to have a script do it for you:

$ make host_setup

GraphQL

Magento comes with GraphQL APIs out of the box. For more information on available queries, mutations and general concepts, visit their documentation.

Clean Up

This instance is immutable and to throw it all away and start again, run:

make rm

Credits

Uses a great container image by Narayan Varma

magento-local's People

Contributors

matt-halliday avatar

Stargazers

Matt Trow avatar

Watchers

James Cloos avatar  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.