Watch the How to Contribute to Postman Quickstarts video demo:
Postman Quickstarts are interactive tutorials and self-serve demos written in markdown syntax. Quickstarts provide a step-by-step reading experience and automatically saves tutorial progress for readers. These tutorials are published at quickstarts.postman.com
You can submit your own Quickstarts to be published on Postman's website by submitting a pull request to this repo. This repository contains all the tools and documentation you’ll need for building, writing, and submitting your own Quickstart.
brew install node@14
npm i -g gulp-cli
brew install golang
go install github.com/googlecodelabs/tools/claat@latest
PATH
claat path setupfork
button)git clone git@github.com:<YOUR-USERNAME>/pmquickstarts.git pmquickstarts
cd pmquickstarts/site
npm install
npm run serve
Congratulations! You now have the Postman Quickstarts landing page running which can be reached at http://localhost:8000/
.
PATH
. Add the following lines to your profile (~/.profile
, or ~/.zshrc
):#adding Golang to path
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$HOME/go/bin
*Note: After adding Go to your PATH
, be sure to apply your new profile: source ~/.profile
or source ~/.zshrc
*
EACCES
error when installing gulp-cli
Error: Cannot find module 'postcss'
when running npm run serve
npm install --save-dev postcss gulp-postcss
and then rerun npm run serve
Terminate the running server with ctrl C
and and navigate to the pmguides
source directory cd pmguides/src
Generate a new guide from the guide template npm run template <GUIDE-NAME>
Don't use spaces in the name of your guide, instead use hyphens to separate words.
npm run template securing-api-keys
Navigate to the newly generated guide (cd pmguides/src/<GUIDE-NAME>
) and edit your guide in a tool like vscode.
Run the website again npm run serve
As you edit and save changes, your changes will automatically load in the browser.
To learn more about how to submit a pull request on GitHub in general, check out GitHub's official documentation.
If you are interested in submitting a tutorial in a non-English language, we require at least two learning modules along with a separate reviewer for the new language before adding it to the site. Currently, the site supports the following non-English languages.
fr
- FrenchChange into the /site
directory. Create the name of the tutorial and include the language tag at the end of the name, such as fr
for French language.
$ cd site
$ npm run template lost-in-space-fr
In the page metadata at the top, update status
to "Hidden". Add language tag to tags
in the metadata.
author: Joyce
id: lost-in-space-fr
summary: This is an API game
categories: Game
environments: web
status: Hidden
feedback link: https://github.com/postmanlabs/pmquickstarts
tags: Game, fr
Change into the site/
directory, and run the deploy script, which builds and publishes site at https://quickstarts.postman.com/
.
$ cd site
$ npm run deploy
Note: To update custom domain, update the CNAME file in app/CNAME and BASE_URL
in gulpfile.js