8000 GitHub - atomicjolt/atomic-search-widget
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

atomicjolt/atomic-search-widget

Repository files navigation

Atomic Search Widget Build Status Coverage Status

This application adds a search widget to Canvas.

Install into Canvas:

Follow these instructions to install into Canvas

Getting Started with Development:

Make sure to install git and npm before you start then:

  1. git clone https://github.com/atomicjolt/atomic-search-widget.git my_project_name
  2. Configure Caddy to serve the build dir by adding this to your Caddyfile, changing the file path
atomic-search-widget.atomicjolt.xyz {
  root * /[path-to-repo]/build/dev
  file_server

  header {
        Cache-Control: no-cache, no-store, must-revalidate
  }
}
  1. Install packages with

    npm install

  2. Start server with:

npm run hot

  1. Upload the file loaders/local.js as your canvas theme js (Do this in a subaccount or on test or beta canvas). It's a small snippet that simply loads the js from the webpack server.

Scripts:

Run webpack hot reload server: npm hot

Release a production build to the S3 website bucket env is dev, beta, or prod: npm release [env]

Run a linter over the project: npm lint

Deploy

If you have multiple aws profiles and need to use a specific one you can do so by setting the AWS_PROFILE i.e. AWS_PROFILE=atomicjolt npm run release dev

License and attribution

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 18

0