Setting Up a Development Environment¶
The following commands should work in a Unix shell (Bash or ZSH for example) and in Windows PowerShell.
To develop and build the source code, you will need the following:
Consult ./requirements.md for help on this topic.
Get the code¶
git clone firstname.lastname@example.org:cozy-labs/cozy-desktop.git cd cozy-desktop
Warning: The path to your local repository should not include any space, otherwise installing dependencies will fail.
If you need to update translations, you’ll need a Transifex API token at this step (requested automatically if
transifex is in your $PATH)
- Create an account on http://www.transifex.com
- Join the Cozy team
- Get your API token from the account settings page
Start development version¶
N.B.: the address of the development cozy-stack is http://cozy.localhost:8080. Don’t forget the protocol part when creating the connection in cozy-desktop for the first time or it won’t find the server.
yarn dev:elm let you develop elm in standalone.