This application adds a search widget to Canvas.
Follow these instructions to install into Canvas
Make sure to install git, npm and yarn before you start then:
-
git clone https://github.com/atomicjolt/react_client_starter_app.git my_project_name
-
Rename .env.example to .env. This file contains the port the server will use. The default 8080 should be fine, but you can also use a local domain or ngrok if you wish.
-
run ./bin/setup or ./bin/setup-linux
-
Install packages with
yarn
-
Start server with:
yarn hot
- 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.
Inside the client directory run:
yarn upgrade-interactive
Run webpack hot reload server:
yarn hot
Release a production build to the S3 website bucket
env is dev, beta, or prod:
yarn release [env]
Run a linter over the project:
yarn lint
Run a linter over the project:
yarn lint
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 yarn release dev
MIT