Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Latest commit

 

History

History
134 lines (82 loc) · 4.35 KB

dev.md

File metadata and controls

134 lines (82 loc) · 4.35 KB

Warning:

Despite this repo being public, it doesn't mean that all these assets are open-source and/or copyright free, or even that you may use any of them. Please, ask for permission first by contacting us: info@junglestar.org

All photos are © by the photographers, all rights are reserved.

Thanks, the Junglestar team.

Features:

URGENT 2DOs:

  • Add Patreon
  • TEST: gsheet is shared with iam.gservice user (magicgreen-admin@magicgreen-205703.iam.gserviceaccount.com) and given EDIT permissions, maybe need only read, test later, when it's working!
  • build ADD YOURSELF FORM > gform > gsheet
  • css ovelay ala VEGAS, via frontmatter true false, for crappy jpgs
  • i18n + make indo posts (using G translate
  • Know section: make memes img 4 social with pill statistics phrases (img)
  • tooltip showing categories descriptions
  • page.name instead of filename in footer list
  • FB post some stuff + setup post robot (buffer?)
  • add + pinned post options (or new posts | featured | popular sections)
  • make contributor guide page w/ what's needed in an article, writing style, checklist.

FUTURE 2DOs:

Dev Dependencies

npm install --save-dev change-case

npm install --save-dev gulp@4.0.0

npm install --save-dev gulp-rename

npm install --save-dev gulp-responsive

Dev Setup

bundle install gems setup

npm install node dependencies setup

Dev Troublshooting

npm update update npm packages npm outdated list npm packages

Dev Time

Store photos, at least 2000x1333px, .tif or .jpg, in /src/_p-hi Copy those to process into:

  • /src/p_input if not yet lowercase, or
  • /src/p_lowercase if already all lowercase, or
  • /src/p_jpeg if already .jpg

Then use:

gulp lower to lowercase all photo names

gulp tifs to produce jpg from tifs

gulp jpgs to produce sized copies

Also can use grafickmagik to work photos 1 by 1, from CLI, like this:

gm convert pippa-01.tif pippa-01.jpg

Run Jekyll:

bundle exec Jekyll serve

or to see draft posts:

bundle exec Jekyll serve --draft

or to see error traces:

bundle exec Jekyll serve --trace

Update companies green pages

npm run getdata

LIMITS (BUGS?!)

Tried jekyll-responsive-image but it sucks, this is not working:

{% capture path %} {{ page.image }} {% endcapture %}

{% responsive_image_block %}
   path: {{ path }}
{% endresponsive_image_block %}

there an open issue here ...