Skip to content

yathit/yathit-for-sugar-doc

Repository files navigation

This repository contains all that is needed to fully generate the Knowledge Base for Yathit Mobile App for Sugar/SuiteCRM.

For this opensource Knowledge Base web site generator, see : Lessons Learned Building a Git-Based Knowledge Base for my SaaS product.

How to run locally

  • Clone this repository to your machine.

  • Make sure to have Ruby installed (tested fine on Ruby 2.3.x).

  • Install required dependencies with bundle install

  • Run

    bundle exec jekyll serve

For Windows machine, start Ubuntu for bash, install jekyll and go to before starting.

cd /mnt/c/Users/mbikyaw/WebstormProjects/yathit-for-sugar-doc

Images

Resizing screenshots,

sips -Z 466 *.png

sips -Z 466  ~/screenshot/*.png    

In windows, choco install ImageMagick.

magick mogrify -resize  360x *.png

Resize gif

gifsicle --colors 256 --resize-fit-width 360 -i  animation.gif -o animation-360px.gif        

Uploading

gsutil -m rsync -r ~/screenshot gs://yathit-assets/screencast/addon
rm ~/addon/*

Or

gsutil mv *.png  gs://yathit-assets/screencast/addon/

List files

gsutil ls gs://yathit-assets/screencast/addon/*

To use the image as centered.

![centered-image](https://yathit-assets.storage.googleapis.com/screencast/addon/other-recipients.gif)

How to build in production

This is mostly:

ant

To build the site

bundle exec jekyll build --destination ~/gae/yathit-app/src/main/webapp/static/gmail-addon

In windows, use bash for ubuntu to build the site

cd //mnt/c/Users/mbikyaw/WebstormProjects/yathit-for-sugar-doc
jekyll build

Then go back to PowerShell to copy files to destination folder

ant copy

Deploy

After build with ant, then publish quickly as latest version

(cd ~/gae/yathit-app; mvn appengine:deploy -Dapp.deploy.version=addon-doc)

About

Yathit Gmail Addon For Sugar Knowledgebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published