Giter Club home page Giter Club logo

d8-basic-cart's Introduction

Grand Concierge

Grand Concierge website with basic shopping cart in Drupal 8.

Getting started

First, you have to install this on your computer:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Unison
brew install unison
  • Drush (Installed locally)
brew install drush
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/php
brew update
brew install php56 --with-httpd24
  • Composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/local/bin/composer
gem install docker-sync

Initial configuration

  • [email protected]:georch/d8-basic-cart.git
  • cd d8-basic-cart
  • composer install
  • ./vendor/bin/project-x drupal:local-setup

Daily rutine

  • Docker for Mac should be running and Apache and MySQL should be turned off locally sudo apachectl graceful && mysql.server stop
  • ./vendor/bin/project-x engine:up will start the docker containers for this project.
  • ./vendor/bin/project-x engine:down will stop the docker containers for this project.
  • git pull to update your repository.
  • drush @local.d-basic-cart config-import to import the default configuration.
  • drush @local.d-basic-cart config-export to export to code the configuration changes.

Install a module

  • Use Composer to install new modules. For instance, to install Admin Toolbar module run composer require drupal/admin_toolbar
  • Commit the changes applied to composer.json and composer.lock

Log in to Drupal

d8-basic-cart's People

Contributors

georch avatar

Watchers

 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.