Skip to content

Agrego página git diff #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 14, 2020
Prev Previous commit
Next Next commit
Quito instlaacion de brew en linux y agrego recomendaciones de podiff…
… y potools
  • Loading branch information
eamanu committed Sep 13, 2020
commit 47d03f837dc9941dae4248bd1fb1d827d179c87f
26 changes: 10 additions & 16 deletions .overrides/git_diff.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,6 @@ Para ellos debemos instalar brew. Si no lo tienes instalado puedes seguir el ins

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

.. tab:: Linux

Para instalar brew en Linux ejecutar

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Luego ejecutar los siguientes comandos::

test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile

Ten en cuenta que si usas un sistema Debian/Ubunut se utiliza el archivo `~/.profile` mientras que
para sistemas CentOS/Fedora/RedHat se utiliza `~/.bash_profile`

Una vez instalado brew, hay que instalar podiff, para ellos ejectar el siguiente comando:

.. code-block:: bash
Expand All @@ -57,4 +41,14 @@ archivos .po con los que se van a trabajar, crealo, y luego, agregar la siguien

*.po diff=podiff

Para las distribuciones de Linux se pueden utilizar algunas herramientas, como por ejemplo podiff_ y
potools_, que son compatibles con Python 2. Se puede utilizar `pip` para instalarlas.

.. code-block:: bash
pip install podiff
# o
pip install potools

.. _Brew: https://docs.brew.sh/Installation
.. _podiff: https://pypi.org/project/podiff/
.. _potools: https://pypi.org/project/potools/