Skip to content

alexkoren-dev/clerk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clerk Help Center (gulp-scss)


Prerequisites

  1. Node.js(v16) + npm(v8)
    - Install NodeJS:  https://nodejs.org/en/download
    - Install NVM: Refer to this link.
    - Check out the current Node version:   node --version
    - Switch Node version: nvm use 16
  2. Gulp installed globally: npm install gulp --global
  3. Install a webserver (one time): npm i -g superstatic
  4. Install the Requestly chrome extension and Allow CORS extension
    - Go to: https://app.requestly.io/rules/editor/create/Replace
    - Set Replace to https://s3-us-west-1.amazonaws.com/assets.support.clerky.com
    - Set With to http://localhost:3474/, Save this rule.
    - Click on Allow CORS extension and turn on the extension by clicking on the left panel where you see character C.
     

Development

1. Clone repo

git clone https://github.com/clerky/help-center-front-end.git

2. Go inside the cloned repo

cd help-center-front-end

3. Install all dependencies (make sure nodejs with npm is installed on your machine)

npm install

4. Run default gulp task

gulp watch

This command watches your changes and builds minified CSS and JS files to assets/stylesheets/application.css & assets/javascripts/application.js

5. Open a new terminal and run the server from the root folder.

superstatic .

A successful run shows this message: Superstatic started. Visit http://localhost:3474 to view your app.
You can check if the server is serving asset files correctly by visiting these URLs.
http://localhost:3474/assets/javascripts/application.js
http://localhost:3474/assets/stylesheets/application.css

6. Going to https://help.clerkey.com should show updates in real time.  If you don't see any updates, please clean the browser cache.

About

Clerky Template Markup Generator built in Gulp

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors