Giter Club home page Giter Club logo

cozy-setup's Introduction

Deprecated repository

Important: this repository is no longer maintained. If you want to install Cozy Cloud, it's explained on our website.

Cozy Makes Your Web Apps Smarter

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.

See our online demo to discover our applications.

Project Tickets

Install Cozy

Cozy Cloud is designed to be used remotely on your own server. So, this project contains what you need to achieve that goal (it only works for Debian/Ubuntu systems).

You will find all the steps to install Cozy on your platform on the project site.

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

Initial README.md

Install script status for Debian 6, Debian 7, Ubuntu 12.04 and Ubuntu 14.04.

How to install Cozy on your server?

On your local machine install Fabric and fabtools. For that purpose, be sure to have python and the pip tools on your machine. For instance, if you're on a Debian based distribution:

apt-get install python python-pip python-dev software-properties-common

If you're on an Apple computer (MacBook and so on), you should already have python and easy install tools, so you can just do:

sudo easy_install pip

Once you have the pip tools installed on your machine:

sudo pip install fabric fabtools

Download our Fabric file (a script that will run commands on your remote server):

wget https://raw.githubusercontent.com/cozy/cozy-setup/master/fabfile.py

Once your system is prepared, use the Fabric script from your local machine to launch the Cozy installation (run it in the same directory as the fabfile you downloaded before):

fab -H user@ip install

Enter your settings when prompted by the installer.

Be patient; some commands or app deployments can take some time. It depends on your network and hardware capabilities.

About local installation

To install Cozy locally, we recommend you to create a virtual machine, and then to run the fabfile script with your virtual machine as target. This allows you to experiment with Cozy without installing numerous packages into your environment.

Fabric authentifications issues

Allow root login, put in /etc/ssh/sshd_config:

PermitRootLogin yes
# Or prefer
PermitRootLogin without-password

Check Fabric connection: fab -u root -H cozy.domain.tld check_fab

Use a user with right sudo config visudo:

pi ALL=(ALL) NOPASSWD: ALL

Check Fabric connection: fab -u pi -H cozy.domain.tld check_fab

Use sudo password: fab -u pi --password=raspberry -H cozy.domain.tld check_fab

Try Cozy with Vagrant

If you want to use Vagrant to run Cozy Cloud Setup in a virtual machine we recommend you use the Ubuntu 12.04 box. Be careful as the update will require that you configure your boot sequence. Choose the first filesystem that is offered, then click ok.

http://files.vagrantup.com/precise64.box

Assistance

You can either read our Trouble Shootings section or contact us via email [email protected] or join our IRC channel and ask for assistance (#cozycloud on freenode.net).

Recommended Hardware

The CPU is not a limitation, Cozy can even run on RaspberryPi.

Mininum

RAM: 512MB (it allows to have 4 apps running simultaneously) Disk space: 5GB SD Class 10 for mini boards.

Recommended

RAM: 2048 MB (it allows to have 15 apps simultaneously). Disk space: a lot of space to store all your files.

Test

Once the installation is done, you can access https://IP:443 to create your Cozy main account. Be sure that you used the HTTPS protocol if you just see the nginx welcome page.

What will this script install on your server?

The Cozy install script installs the following tools:

  • Python runtime
  • Node.js runtime
  • CouchDB document database
  • Node tools: cozy-controller, cozy-monitor, coffee-script, brunch
  • Cozy Controller Daemon
  • Cozy Data Indexer
  • Cozy Data System
  • Cozy Proxy
  • Cozy Home

If you want to know more about how Cozy works you can check our architecture page.

About virtual machines and containers

Because of the numerous technologies involved, we recommend you to run the Cozy stack in an isolated virtual machine or in a container (OpenVz or LXC). But it's not mandatory, you can install Cozy Cloud on your server (that's what you should do if you have a small server like a Sheeva Plug or an old machine).

License

Cozy is developed by Cozy Cloud under the AGPL v3 license (see each module for exceptions).

cozy-setup's People

Contributors

aenario avatar alpha14 avatar biruh avatar bnjbvr avatar clochix avatar daviddoran avatar frankrousseau avatar jsilvestre avatar kloadut avatar kosssi avatar lucst avatar maxence-cote avatar michielbdejong avatar nledez avatar nono avatar poupotte avatar prologic avatar show0k avatar wnp avatar yverry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.