Code Monkey home page Code Monkey logo

magento2's Introduction

magento2

Magento 2 with Sample Data

Installation instructions

Step 1: Verify your prerequisites

Use the following table to verify you have the correct prerequisites to install the Magento software.

Prerequisite How to check For more information
Apache 2.2 or 2.4 Ubuntu: apache2 -v
CentOS: httpd -v
Apache
PHP 5.5.x or 5.6.x php -v PHP Ubuntu
PHP CentOS
MySQL 5.6.x mysql -u [root user name] -p MySQL

Step 2: GIT Clone

git clone https://github.com/emizentech/magento2.git

Step 3: Create and Import Database

  *# untar mageto2.sql.tar.gz file
  tar -xzf mageto2.sql.tar.gz
  *# now create database using terminal or phpMyAdmin and import mageto2.sql file
  *# change URL in core_config_data table chage URL  for key web/unsecure/base_url &  web/secure/base_url

Step 4: Set DB Credentials

  • remame app/etc/env.php.sample to app/etc/env.php and set database credentials
        'db' => 
      array (
        'table_prefix' => '',
        'connection' => 
        array (
          'default' => 
          array (
            'host' => 'localhost', // Change if you have any other host for mysql
            'dbname' => 'magento2', // change your db name here
            'username' => 'username', // change your username here
            'password' => 'password', // change your password here
            'active' => '1',
          ),
        ),
      
    if you want to change admin path than change here
          'backend' => 
            array (
              'frontName' => 'admin',
            ),
      

Step 4: Set Permission and run website

  chown -R admin:www-data /var/www/magento2
  find /var/www/magento2 -type f -print0 | xargs -r0 chmod 640
  find /var/www/magento2 -type d -print0 | xargs -r0 chmod 750
  chmod -R g+w /var/www/magento2/{pub,var}

default admin credentials

username : admin 
password : admin@123!

magento2's People

Contributors

emizentech avatar payless 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.