Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Latest commit

ย 

History

History
55 lines (34 loc) ยท 2.13 KB

File metadata and controls

55 lines (34 loc) ยท 2.13 KB

Contributing

Bounties Rules:

Projects more than 4 hours, make an issue first for feedback

Projects less than 4 hours, tag us in our Discord with your idea.

Thank you for your efforts!

  • pi0neerpat

Contributing to @usekeyp/js-sdk

Under active development

Contributing to @usekeyp/ui-kit

Deployments

Published dev branch https://keyp-ui-kit-dev.surge.sh/

Published main branch https://keyp-ui-kit.surge.sh/

Usage ๐Ÿ“–

  1. Clone the repo and run yarn install to install the necessary dependencies. Make sure you're using a recent version of node (>= 16.0.0)
  2. Navigate to the root directory of ui-kit and run yarn tailwindcss. This script ensures our Tailwind styles are built and available to the styleguidist server.
  3. In the same directory, run yarn start. This script starts the styleguidist server.
  4. Your server should now be running successfully!

Deploying with Surge

Surge is a static web publishing service that lets us easily deploy our frontend components to a live URL. Currently, our frontend components are deployed to https://keyp-frontend-components.surge.sh/ While testing, if you need a link to send to the design team you can easily deploy to a different link. However, we will keep this link as the code representative of our components currently in production.

This is how you can deploy to surge:

  1. CD into the ui-kit folder
  2. Run styleguidist build to generate the styleguide directory with the bundled assets for deploy
  3. Run surge and point to the styleguide folder
  4. Should look like /YOUR_LOCAL_PATH/ui-kit/styleguide
  5. Choose https://keyp-ui-library.surge.sh/ as the domain to deploy the site if you want to deploy a new production build (you can create any other name for the domain if you want to deploy a test build to share with someone)
  6. If you're unable to deploy to the production domain, send your email to Jacob so he can add you as a collaborator

Resources ๐Ÿง‘โ€๐Ÿ’ป

License ๐Ÿ“

Copyright ยฉ 2023 Nifty Chess, Inc.
This project is MIT licensed.

โšก