-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #401
Open
sana-malik
wants to merge
3
commits into
adobe:dev
Choose a base branch
from
sana-malik:patch-1
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+14
−8
Open
Update README.md #401
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,7 +1,12 @@ | ||
# parliament-client-template | ||
|
||
## 🚀 Quick start | ||
### Prerequisites | ||
1. `node`: Use a version between 14.15 and 16 (e.g., if using nvm, type `nvm use 14.17.5`) | ||
2. `yarn` | ||
3. `git` | ||
|
||
### Steps | ||
1. **Clone your docs repo** | ||
|
||
```sh | ||
|
@@ -23,35 +28,36 @@ | |
|
||
1. **Create an environment File** | ||
|
||
Create a `.env.development` and `.env.production` files and define environment variables as below. Refer: [https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) | ||
Create a `.env.development` (local) or `.env.production` (prod) file and define environment variables as below. | ||
|
||
For local: | ||
|
||
``` | ||
GATSBY_SITE_PATH_PREFIX = Demo | ||
|
||
# Personal access token with read access created from github as per instructions [here](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) | ||
# Personal access token with read access created from Github Enterprise (https://git.corp.adobe.com) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this has to be GitHub Enterprise, does it? |
||
# Instructions: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line | ||
GATSBY_GIT_CORP_TOKEN = 1cdba7077XXXXXXXXXXXXXXXX633c1 | ||
|
||
# Repo URL in given format which you want to use to generate a microsite | ||
# NOTE: for Enterprise instances, this MUST be the FULL HTTPS URL | ||
# Site repo URL which you want to use to generate a microsite | ||
# NOTE: This MUST be the FULL HTTPS URL | ||
# This repository must contain a manifest*.* file for Parliament to read. | ||
# (preferably in a .yaml format) | ||
# For development/testing, the following sample repo can be used: https://github.com/AdobeDocs/parliament-docs-template | ||
GATSBY_SOURCE = github.com/<source_org>/<source_repo>.git | ||
GATSBY_SOURCE=https://github.com/<source_org>/<source_repo> | ||
GATSBY_SOURCE_BRANCH=master | ||
|
||
# Strings starting with a "!" are considered ignore patterns. For example !CONTRIBUTING.md will tell the system to skip CONTRIBUTING.md | ||
GATSBY_SOURCE_PATTERNS=**/*,!CONTRIBUTING.md | ||
GATSBY_SOURCE_TITLE=My Docs Site | ||
|
||
# Url for your analytics script | ||
GATSBY_LAUNCH_SRC=//assets.adobedtm.com/<id>/launch-<id>.min.js | ||
|
||
# NOTE: LOCAL_PROJECT_DIRECTORY is the absolute path to a local copy of the repository specified in $GATSBY_SOURCE | ||
LOCAL_PROJECT_DIRECTORY=/absolute/path/to/docs/project | ||
SWAGGER_SOURCE_PATTERNS=**/petstore.json,**/swagger.json | ||
|
||
# URL for your analytics script (optional) | ||
GATSBY_LAUNCH_SRC=//assets.adobedtm.com/<id>/launch-<id>.min.js | ||
|
||
# used to mock out features that require a username | ||
LDAP_USER=<your LDAP> | ||
``` | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are both out of support now.