Skip to content

cala-org/cala-org.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CALA-web.github.io

Chinese American Librarians Association

To run in your local machine

  • Set up your ruby environment https://www.ruby-lang.org/en/
  • Clone this repo
  • Locate to the right path in your terminal, run bundle install, then bundle update
  • Run bundle exec jekyll serve
  • Check it on http://localhost:4000
  • In order to check on a different port, run bundle exec jekyll serve --port 4321, replace 4321 with your preferred port #

Netlify Deploy Status

  • Netlify Status
  • Netlify admin logoin: cala-org.netlify.app/admin

To create new post via Netlify

Gulp Encryption [deactivated]

  • Go to gulpfile.js in root file
  • find gulp.task("firewall:encrypt", () => { return gulp .src("_protected/*.*") .pipe(encrypt("password")) .pipe(gulp.dest("_secret")); }); in the gulp file
  • gulp.src() suggests the directory which you want to encrypt the contents held in
  • gulp.pipe(encrypt("password")) means the password you wnat to have
  • gulp.pipe(gulp.dest()) point out the encrypted file which will be AUTO-GENERATED
  • The encrypted.html under _layouts is responsible for interacting with gulpfile.js and setting up further frontend features (e.g. CSS, JS)
  • When using gulp's encryption feature, open up a different terminal and run gulp (need to install gulp CLI and check gulp's version first)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published