- Install yarn: https://yarnpkg.com
- Clone the repo:
git clone https://github.com/utterance/utterances
- Install the project's dependencies using yarn:
cd utterances yarn install
- Start developing!
This command compiles the source files and starts a development webserver. Any change you make to the source TypeScript, HTML and SCSS files will automatically be recompiled. Go to http://localhost:4000/index.html to view your changes.
yarn start
Each theme is located in a subdirectory of src/stylesheets/themes
. Themes must have an index.scss
and utterances.scss
files. These are the entrypoint stylesheets for the utterances homepage and utterances widget respectively. Todo: more instructions