-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Cozy Manager is a CLI tool for Cozy Web Application developers. It makes starting building an application for the Cozy Cloud Platform easy.
It requires a github account for a full usage.
npm install -g cozy
cozy --help
You can create and deploy your application easily.
cozy new <appname> --github <yourgithubaccount> --url <yourcozycloudurl>
cd <appname>
This will create a folder with an application skeleton and a deploy_config.coffee file. The arguments are not mandatory, still they are required to deploy your app on your CozyCloud.
cd <appname>
cozy deploy
This command use the deploy_config.coffee file in the root of the project folder.
CozyManager has commands to make using a virtual machine easy. Please refer to our setup guide to know why using a virtual machine could be a good idea.
Basically, we wrap Vagrant commands inside the CozyManager.
cozy dev:init
This command will download the base box (if it's not already on your local system) and initialize the current directory in order to start your virtual machine.
cozy dev:start
cozy dev:stop
Nothing magic here. This will start and stop your virtual machine.
cozy dev:vm-status
This will tell you which services are running and accessible and which are not. If everything is "ok", you are ready to start working on your awesome app!
cozy dev:light-update
The core services are improved and you might feel you need to be up to date.
cozy dev:destroy
We might do major upgrades of the cozy core services and publish a new base box. This is how you should remove your current VM to add a new one with cozy dev:init
.
Be careful here! You will lose all your data!