GithubHelp home page GithubHelp logo

anastasiya29 / sugcon-jss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uniformdev/sugcon-jss

0.0 1.0 0.0 5.36 MB

License: Apache License 2.0

JavaScript 69.67% HTML 1.67% TypeScript 28.12% CSS 0.54%

sugcon-jss's Introduction

SUGCON demo site

This site is built with Sitecore JSS and is used to support the presentation on "How to get to the sub-second page load times in the real world with Sitecore JSS" by Alex Shyba.

Getting started (disconnected)

  1. npm install
  2. npm run dev or jss dev.

Environment variables

  1. For GA, acquire your tracking code UA-xxxx-x from GA and pass as an environment variable in .env file:

    REACT_APP_GA=UA-xxxx-x
    

    See .env.example.

  2. The app is using Google Maps API. You would need to acquire your own key via Google Cloud Console (the one for the Google Maps JavaScript API) and provide it here:

    REACT_APP_MAPS_API=abc
    

    See .env.example.

  3. The app is using Cloudinary for image CDN. You would need to acquire your own account with Cloudinary and provide the given account name as environment variable:

    REACT_APP_CLOUDINARY_ACCOUNT=your-account-name
    

    See .env.example.

Deployment to Sitecore

  1. jss setup and follow the steps in CLI
  2. jss deploy app -c to deploy the app: code and content.

Running connected

  1. npm run start:connected

sugcon-jss's People

Contributors

aweber1 avatar

Watchers

 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.