/autoparts

package manager for nitrous.io

Primary LanguageRubyBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Autoparts - A Package Manager for Nitrous.IO

日本語

Requirements

  • A "bran", cersei or drogo box. Some packages may not work correctly in "arya" boxes.

    Bran box

  • Some packages may require 512MB RAM or more.

Installation

Enter the following into your boxes' terminal:

ruby -e "$(curl -fsSL https://raw.github.com/nitrous-io/autoparts/master/setup.rb)"
exec $SHELL -l

Usage

See parts help.

Package Guidelines

  • Post-installation setup tasks (e.g. creating conf file, generating empty database file) should be done in post_install method.
  • Configuration files should be placed in Path.etc (e.g. ~/.parts/etc) or Path.etc + name (e.g. ~/.parts/etc/postgresql).
  • Data files (e.g. database files) should be placed in Path.var + name (e.g. ~/.parts/var/postgresql).
  • Log files should be placed in Path.var + 'log' + "#{name}.log" (e.g. ~/.parts/var/log/postgresql.log).

Copyright (c) 2013 Irrational Industries Inc. This software is licensed under the BSD 2-Clause license.