Giter Site home page Giter Site logo

vijayraavi / sitecore.habitathome.content Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sitecore/sitecore.demo.platform

0.0 0.0 0.0 95.24 MB

This repository is used to share Sitecore demo assets with external contributors and partners

License: Mozilla Public License 2.0

JavaScript 7.13% PowerShell 1.12% C# 90.33% ASP 1.41%

sitecore.habitathome.content's Introduction

Introduction

HabitatHome Demo and the tools and processes in it is a Sitecore® solution example built using Sitecore Experience Accelerator™ (SXA) on Sitecore Experience Platform™ (XP) following the Helix architecture principles.

Important Notice

License

Please read the LICENSE carefully prior to using the code in this repository

Support

The code, samples and/or solutions provided in this repository are unsupported by Sitecore PSS. Support is provided on a best-effort basis via GitHub issues or Slack #habitathome (see end of README for additional information).

It is assumed that you already have a working instance of Sitecore XP and all prerequisites prior to installing the demo. Support for product installation issues should be directed to relevant Community channels or through regular Sitecore support channels.

Warranty

The code, samples and/or solutions provided in this repository are for example purposes only and without warranty (expressed or implied). The code has not been extensively tested and is not guaranteed to be bug free.

Getting Started

Prerequisites

Sitecore Version

Prior to attempting the demo installation, ensure you have a working Sitecore XP 9.0.1 instance. Detailed installation instructions can be found at doc.sitecore.com.

Additional modules

In addition to a base XP 9.0.1 installation, the following modules are required:

Additional Windows Components

  • Url Rewrite 2.1
    • Can be installed using Web Platform Installer in IIS Manager

SSL Only

The demo is configured for HTTPS/SSL. Please ensure that you create an HTTPS binding with appropriate self-signed certificates.

Build / Deployment

In order to deploy the assets, you need either Visual Studio 2017 or MSBuild Tools for Visual Studio 2017.

Node.JS is also required

Custom install - before you start

The following is a list of default values / assumptions for install locations

Project location c:\projects\sitecore.habitathome.content\ Habitat Site domain habitathome.dev.local Web Root c:\inetpub\wwwroot Host Suffix dev.local xConnectRoot habitat_xconnect.dev.local

The hostname habitathome.dev.local is used in the SXA Hostname (Site Grouping).

If you do not use habitathome.dev.local you will need to modify the Host Name in /sitecore/content/Habitat Sites/Habitat Home/Settings/Site Grouping/Habitat Home after successfully deploying the site. The Habitat Home site will not respond / render correctly until this value is modified.

If you do not want to use the default settings, you need to adjust the appropriate values in the following files:

/gulp-config.js /publishsettings.targets src\Project\Common\code\App_Config\Include\Project\z.Common.Website.DevSettings.config

Installation:

All installation instructions assume using PowerShell 5.1 in administrative mode.

1 Clone this repository

Setting Git for Long Paths

  • Before cloning, you need to configure git to allow long paths, which is not the default.

git config --system core.longpaths true

Clone the Sitecore.HabitatHome.Content repository locally - defaults are configured for C:\Projects\Sitecore.HabitatHome.Content.

  • Clone -- https: git clone https://github.com/Sitecore/Sitecore.HabitatHome.Content.git -- ssh: git clone [email protected]:Sitecore/Sitecore.HabitatHome.Content.git

2 Deploy Sitecore.HabitatHome.Content

From the root of the solution

  • Run npm install

if you plan on installing the Commerce (XC) demo:

  • Run .\node_modules\.bin\gulp quick-deploy

if you are only installing this demo:

  • Run .\node_modules\.bin\gulp

An error (maxBuffer) sometimes occurs the first time running gulp during Sync-Unicorn. Running gulp a second time resolves the issue (and doesn't take as long)

if using Visual Studio task runner, please see this workaround

3 Validating deployment

  1. Browse to https://habitathome.dev.local (or whatever hostname you selected)
    1. You should see the Habitat Home landing page with a full-width carousel
    2. If you do not see the full-width carousel and instead see the initial Sitecore default landing page, ensure that your Host Name was configured correctly in /sitecore/content/Habitat Sites/Habitat Home/Settings/Site Grouping/Habitat Home
  2. Browse to https://habitat.dev.local
    1. You should see the Habitat landing page (not Habitat Home)

Contribute or Issues

Please post any issues on Slack Community #habitathome channel or create an issue on GitHub. Contributions are always welcome!

sitecore.habitathome.content's People

Contributors

jeanfrancoislarente 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.