Skip to content

Latest commit

 

History

History
 
 

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

azk documentation

azk documentation was built upon Gitbook.

Starting Gitbook server with azk

azk start -o && azk logs --follow

After a few minutes, azk docs will be up and running on docs-azk.dev.azk.io. :)

Deploying

Before deploying you must create a file called .env or copy and update .env.sample

AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXX
AWS_SECRET_KEY=XXXXXXXXXXXXXXXXX
AWS_BUCKET_PROD=[bucket to prod deploy]
AWS_BUCKET_STAGE=[bucket to stage deploy]
UA_CODE=UA-XXXXXXXX-X
GA_LEGACY_COOKIE_DOMAIN=azk.io
HOTJAR_ID=XXXXXXX

azk buckets

# stage
azk-docs-stage

# production
docs.azk.io

Build and deploy

azk shell -- gulp deploy --stage
azk shell -- gulp deploy --prod

[! danger !] to remove all files from a bucket use s3cmd

s3cmd del s3://azk-docs-stage/ --recursive --force
rm .awspublish-azk-docs-stage

Screenshot terminal configuration

Font: Inconsolata Font-size: 15pt Console columns: 87 Shell: zsh Zsh Theme: edvardm iTerm Color: Dracula Theme

To change the window title for iTerm, you can do

echo -ne "\033];azk agent start --no-daemon\007"

You may also disable (uncheck) the window number by going to iTerm -> Preferences -> Appearance -> Window & Tab title -> Show window number

For that to work, you'll also need to go to your .zshrc file and uncomment the line:

DISABLE_AUTO_TITLE="true"

And go to iTerm -> Preferences -> Appearance -> Window & Tab Titles and uncheck everything.

If you're using a Mac, use Cmd + Shift + 4, then press Space and Left-click to take the screenshot of the terminal. Use the azkdemo application found here.