Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Latest commit

 

History

History
63 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

63 lines (36 loc) · 1.12 KB

Build Status

ITea and Coffee

Promo page for Event organized by Soft Serve Poland.

Usage

★ Run & watch

Run server and watch changes in HTML, CSS and JS files.

npm start

★ Optimize images

Images (.jpeg, .png, .svg) will taken from src/img, optimized and placed to assets/img.

npm run img

★ Build project

Copy HTML-files and assets/ to build/.

npm run build

★ Deploy

Publish project to GithubPages.

npm run deploy

★ Check

Check files with editorconfig-tools.

npm run check

★ Fix

Fix files with editorconfig-tools.

npm run fix

How to get access_token for instagram?

Step one:

https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code

Step two:

curl -F 'client_id=CLIENT ID' \
  -F 'client_secret=CLIENT SECRET' \
  -F 'grant_type=authorization_code' \
  -F 'redirect_uri=redirect_uri' \
  -F 'code=CODE' \
  https://api.instagram.com/oauth/access_token