Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

The module that manages your applications on your Cozy Platform.

License

Notifications You must be signed in to change notification settings

mycozycloud/cozy-controller-old

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cozy Controller

The Cozy Controller is used to fetch and manage the applications in the Cozy Platform.

The Cozy Controller is a clone of Haibu by Nodejistu augmented with features required by the Cozy use cases, like:

  • configurable application directory
  • configurable application file permissions
  • applications are started in a given order.
  • Update application without loading a full reinstallation process.

You can specify options in file configuration located at:

/etc/cozy/cozy-controller.conf

Options available :

  • npm-registry: registry used for npm
  • strict-ssl: option strict-ssl for npm
  • timeout-autostart-home: maximum time between applications starting and home starting during autostart
  • timeout-autostart-ds: time to consider data-system broken during autostart

If you want further details, check out the wiki or Haibu original documentation

Install

Installation:

npm install cozy-controller -g

Start:

cozy-controller --jh

Run following command to see all available actions:

cozy-controller --help

Contribution

You can contribute to the Cozy Controller in many ways:

  • Pick up an issue and solve it.
  • Add support for Python applications.
  • Add support for serverless applications.

Hack

First you have to create two folders:

mdkir /etc/cozy
chown myuser: /etc/cozy
mkdir ~/cozy-apps/

Then you can fetch sources and run the controller locally.

git clone https://github.com/mycozycloud/cozy-controller.git
cd cozy-controller
chmod +x ./bin/cozy-controller
./bin/cozy-controller --dir ~/cozy-apps

Tests

Build Status

To run tests type the following command into the Cozy Home folder:

npm test

License

Cozy Controller is developed by Cozy Cloud and distributed under the AGPL v3 license.

What is Cozy?

Cozy Logo

Cozy is a platform that brings all your web services in the same private space. With it, your web apps and your devices can share data easily, providing you with a new experience. You can install Cozy on your own hardware where no one profiles you.

Community

You can reach the Cozy Community by:

  • Chatting with us on IRC #cozycloud on irc.freenode.net
  • Posting on our Forum
  • Posting issues on the Github repos
  • Mentioning us on Twitter

About

The module that manages your applications on your Cozy Platform.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 96.0%
  • CSS 3.4%
  • Shell 0.6%