Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uniformdev/sugcon-jss
https://github.com/uniformdev/sugcon-jss
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uniformdev/sugcon-jss
- Owner: uniformdev
- License: apache-2.0
- Archived: true
- Created: 2020-04-29T20:50:34.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T21:55:01.000Z (almost 3 years ago)
- Last Synced: 2024-01-16T17:22:23.185Z (6 months ago)
- Language: JavaScript
- Size: 5.23 MB
- Stars: 2
- Watchers: 11
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-cloudinary - uniformdev/sugcon-jss
README
# 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](https://twitter.com/@alexshyba).
## Getting started (disconnected)
1. `npm install`
1. `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`.
1. 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`.1. 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
1. `jss deploy app -c` to deploy the app: code and content.## Running connected
1. `npm run start:connected`