Blame tcar-scripts-prepare-docs/Manpages/prepare.asciidoc

Alain Reguera Delgado ac32e8
prepare(1)
Alain Reguera Delgado ac32e8
==========
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
Name
Alain Reguera Delgado ac32e8
----
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
prepare - Prepare your workstation for using the repository.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
Synopsis
Alain Reguera Delgado ac32e8
--------
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*centos-art.sh prepare [OPTIONS]*
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
Description
Alain Reguera Delgado ac32e8
-----------
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
The first time you download the CentOS artwork repository into your
Alain Reguera Delgado ac32e8
workstation, you only find source files inside the repository. In
Alain Reguera Delgado ac32e8
order to produce each component of CentOS corporate visual identity,
Alain Reguera Delgado ac32e8
it is necessary that you first transform the source files (e.g.,
Alain Reguera Delgado ac32e8
+.svgz+, +.asciidoc+, +.po+) into final files (e.g., +.png+, +.html+,
Alain Reguera Delgado ac32e8
+.mo+).  This process is known as _preparing your workstation to use
Alain Reguera Delgado ac32e8
the repository_ and is standardized through the *prepare* module. This
Alain Reguera Delgado ac32e8
way, the *prepare* module is the first command you execute after
Alain Reguera Delgado ac32e8
downloading a fresh copy of CentOS artwork repository.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
When you execute the *prepare* module without any option, it first
Alain Reguera Delgado ac32e8
checks existence of required packages (see --packages), then updates
Alain Reguera Delgado ac32e8
the locale information required by *centos-art.sh* script to show
Alain Reguera Delgado ac32e8
messages in your current locale, later renders documentation (see
Alain Reguera Delgado ac32e8
--documents) and images (see --images) using source files available
Alain Reguera Delgado ac32e8
inside the repository. Finally, it updates the link relation that
Alain Reguera Delgado ac32e8
connects content inside the repository and the applications outside it
Alain Reguera Delgado ac32e8
(see --links).
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
When you execute the *prepare* module with options, the order in which
Alain Reguera Delgado ac32e8
preparation actions take place is set by the order in which you passed
Alain Reguera Delgado ac32e8
the options.  See <<options>>, for more information about available
Alain Reguera Delgado ac32e8
options and what they do.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
Once the *prepare* module completes its execution, both your
Alain Reguera Delgado ac32e8
workstation and your copy of CentOS artwork repository will be ready
Alain Reguera Delgado ac32e8
for production.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
[[options]]
Alain Reguera Delgado ac32e8
Options
Alain Reguera Delgado ac32e8
-------
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
The *prepare* module accepts the following options:
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*--help*::
Alain Reguera Delgado ac32e8
    Print module's documentation.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*--version*::
Alain Reguera Delgado ac32e8
    Print module's version.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*--packages*::
Alain Reguera Delgado ac32e8
    This option verifies whether you have installed the required
Alain Reguera Delgado ac32e8
    packages in your workstation or not. If they are not installed an
Alain Reguera Delgado ac32e8
    error will be printed telling you what the missing package is, so
Alain Reguera Delgado ac32e8
    you can install it. It is important that all the required packages
Alain Reguera Delgado ac32e8
    be installed for *centos-art.sh* script modules to work as
Alain Reguera Delgado ac32e8
    expected.
Alain Reguera Delgado ac32e8
+
Alain Reguera Delgado ac32e8
[NOTE]
Alain Reguera Delgado ac32e8
======================================================================
Alain Reguera Delgado ac32e8
When you are verifying packages, be aware that it is required that you
Alain Reguera Delgado ac32e8
have installed EPEL repository. The EPEL configuration package
Alain Reguera Delgado ac32e8
(*epel-release*) isn't part of CentOS distribution and you need to
Alain Reguera Delgado ac32e8
download it and install it manually. The *epel-release* package can be
Alain Reguera Delgado ac32e8
found in either of the locations (based on your system version):
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
 * For CentOS-5: http://download.fedoraproject.org/pub/epel/5/i386/[http://download.fedoraproject.org/pub/epel/5/i386/]
Alain Reguera Delgado ac32e8
 * For CentOS-6: http://download.fedoraproject.org/pub/epel/6/i386/[http://download.fedoraproject.org/pub/epel/6/i386/]
Alain Reguera Delgado ac32e8
======================================================================
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*--locales*::
Alain Reguera Delgado ac32e8
    This option looks for all translatable strings inside the
Alain Reguera Delgado ac32e8
    *centos-art.sh* script, updates the related POT and PO files and
Alain Reguera Delgado ac32e8
    produces the related MO file using the specific locale environment
Alain Reguera Delgado ac32e8
    information the script was run in. If the PO file already have
Alain Reguera Delgado ac32e8
    translations, they are preserved and used to build the MO file.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*--links*::
Alain Reguera Delgado ac32e8
    This updates the link information that connects the information
Alain Reguera Delgado ac32e8
    inside the repository with the information outside the repository.
Alain Reguera Delgado ac32e8
    For example, inside the repository we have the font information
Alain Reguera Delgado ac32e8
    required to build messages in specific typography, such
Alain Reguera Delgado ac32e8
    information isn't by default in the default system locations so we
Alain Reguera Delgado ac32e8
    install them in the home directory of the user running the
Alain Reguera Delgado ac32e8
    *prepare* module, using symbolic links.
Alain Reguera Delgado ac32e8
+
Alain Reguera Delgado ac32e8
Whenever you need to update this information, use this option. Take
Alain Reguera Delgado ac32e8
care that all links previously created in the target location will be
Alain Reguera Delgado ac32e8
removed and recreated again. So, you can change the name relation in
Alain Reguera Delgado ac32e8
the configuration files and install the changes without leaving broken
Alain Reguera Delgado ac32e8
links in the target location.
Alain Reguera Delgado ac32e8
+
Alain Reguera Delgado ac32e8
The file that controls the link configuration is inside the repository
Alain Reguera Delgado ac32e8
at +Automation/Modules/Prepare/Modules/Links/Configs/render.conf+.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*--images*::
Alain Reguera Delgado ac32e8
    This option produces images from source files available inside the
Alain Reguera Delgado ac32e8
    repository, using the correct order. When you use this option,
Alain Reguera Delgado ac32e8
    centos-art.sh script calls the render module internally which
Alain Reguera Delgado ac32e8
    produces content for all configuration (+render.conf+) files found
Alain Reguera Delgado ac32e8
    inside the repository.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
*--documents*::
Alain Reguera Delgado ac32e8
    This options produces documentation from source files available
Alain Reguera Delgado ac32e8
    inside the repository. When you pass this option, the current
Alain Reguera Delgado ac32e8
    locale information is considered to produce the documentation. If
Alain Reguera Delgado ac32e8
    the current locale doesn't have translation files set for the
Alain Reguera Delgado ac32e8
    current locale information, English language is used as default
Alain Reguera Delgado ac32e8
    language.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
Author
Alain Reguera Delgado ac32e8
------
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
The *prepare* module has received contributions from the following
Alain Reguera Delgado ac32e8
people:
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
 * Alain Reguera Delgado <mailto:al@centos.org.cu[al@centos.org.cu]>, 2009-2013
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
Copyright
Alain Reguera Delgado ac32e8
---------
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
Copyright (C) 2009-2013 The CentOS Project
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
This program is free software; you can redistribute it and/or modify
Alain Reguera Delgado ac32e8
it under the terms of the GNU General Public License as published by
Alain Reguera Delgado ac32e8
the Free Software Foundation; either version 2 of the License, or (at
Alain Reguera Delgado ac32e8
your option) any later version.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
This program is distributed in the hope that it will be useful, but
Alain Reguera Delgado ac32e8
WITHOUT ANY WARRANTY; without even the implied warranty of
Alain Reguera Delgado ac32e8
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Alain Reguera Delgado ac32e8
General Public License for more details.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
You should have received a copy of the GNU General Public License
Alain Reguera Delgado ac32e8
along with this program; if not, write to the Free Software
Alain Reguera Delgado ac32e8
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
See Also
Alain Reguera Delgado ac32e8
--------
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
centos-art.sh(1), centos-art.sh-render(1), centos-art.sh-locale(1)
Alain Reguera Delgado ac32e8
Alain Reguera Delgado ac32e8
// vim: set syntax=asciidoc: