generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 60-issue-dist-folder
- Loading branch information
Showing
107 changed files
with
1,732 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,66 @@ | ||
# Your Project's Title... | ||
Your project's description... | ||
# Boilerplate for AEM Edge Delivery Services | ||
This is our Edge Delivery Services boilerplate. | ||
|
||
## Table of Contents | ||
- [Environments](#environments) | ||
- [Getting started](#getting-started) | ||
- [Prerequisites](#prerequisites) | ||
- [Installation](#installation) | ||
- [Linting](#linting) | ||
- [Documentation](#documentation) | ||
|
||
## Environments | ||
- Preview: [https://main--eds-editorial--ifahrentholz.hlx.page/](https://main--eds-editorial--ifahrentholz.hlx.page/) | ||
- Live: [https://main--eds-editorial--ifahrentholz.hlx.live/](https://main--eds-editorial--ifahrentholz.hlx.live/) | ||
|
||
## Installation | ||
### Prerequisites | ||
|
||
```sh | ||
npm i | ||
``` | ||
- GitHub account | ||
- Google or Microsoft account | ||
- npm | ||
```sh | ||
npm i | ||
``` | ||
|
||
### Installation | ||
|
||
1. Create your repository using the Boilerplate GitHub repository as a template: | ||
https://github.com/divae/boilerplate | ||
|
||
2. Add the AEM Code Sync GitHub App to the repository: | ||
https://github.com/apps/aem-code-sync/installations/new | ||
|
||
- Select `Only select Repositories` (not `All Repositories`). | ||
|
||
3. Link content source (Google Drive or Microsoft Sharepoint) | ||
- Create a folder in Google Drive/Sharepoint and share the folder with the Adobe Experience Manager user (`[email protected]`). | ||
- Change the reference in `fstab.yaml` in your GitHub repo to the Google Drive/Sharepoint folder URL and commit the changes. | ||
|
||
4. Install the Sidekick Chrome extension: | ||
https://chromewebstore.google.com/detail/aem-sidekick/ccfggkjabjahcjoljmgmklhpaccedipo?pli=1 | ||
|
||
- Go to the Google Drive/Sharepoint folder, click on the extension icon in the browser toolbar and select `Add this project`. | ||
- To preview and publish content, select a file in Google Drive/Sharepoint, click on the extension icon to open the new Sidekick Toolbar and click `preview` or `publish`. | ||
|
||
5. Start development | ||
- Install the AEM Command Line Interface (CLI) and clone your repo locally. | ||
``` | ||
npm install -g @adobe/aem-cli | ||
git clone https://github.com/<owner>/<repo> | ||
``` | ||
- Change into project folder and start your local dev environment. `npm start` initializes a build as well as runs the `aem up` command. | ||
``` | ||
cd <repo> | ||
npm start | ||
``` | ||
- Use Git to push code changes to your preview (https://<branch>--<repo>--<owner>.hlx.page/) and production (https://<branch>--<repo>--<owner>.hlx.live/) sites. | ||
## Linting | ||
```sh | ||
npm run lint | ||
``` | ||
|
||
## Local development | ||
## Documentation | ||
|
||
1. Create a new repository based on the `aem-boilerplate` template and add a mountpoint in the `fstab.yaml` | ||
1. Add the [AEM Code Sync GitHub App](https://github.com/apps/aem-code-sync) to the repository | ||
1. Install the [AEM CLI](https://github.com/adobe/aem-cli): `npm install -g @adobe/aem-cli` | ||
1. Start AEM Proxy: `aem up` (opens your browser at `http://localhost:3000`) | ||
1. Open the `{repo}` directory in your favorite IDE and start coding :) | ||
For more information, please refer to the <a href="https://github.com/ifahrentholz/eds-editorial/wiki">documentation</a>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...unks__/createOptimizedPicture.Z5VLB_Rl.js → ...unks__/createOptimizedPicture.DLZ8Nghn.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...__/createOptimizedPicture.Z5VLB_Rl.js.map → ...__/createOptimizedPicture.DLZ8Nghn.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.