Skip to main content

Installation and setup

Make sure you have npm, and node installed on your system

Node: https://nodejs.org/en/download/
npm: https://www.npmjs.com/get-npm
fitbit cli: https://dev.fitbit.com/build/guides/command-line-interface/
Fitbit OS Simulator: https://dev.fitbit.com/getting-started/

Once that is setup, clone and install the repository:

git init
git clone git@github.com:cozie-app/cozie.git
cd cozie
npm install

You can then open the Fitbit OS Simulator. In order to run the project, you'll have to build and install first. Open a fitbit shell.

npx fitbit

From there, build the project.

fitbit$ build

And then run install, which will open the browser and log you into your fitbit developer account.

fitbit$ install

The simulator should pick up on this and a new app should be listed on the right. Once you power up the simulator, the app will be running on it.