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

fedyk/itea-and-coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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