magcms/docs/install.rst

74 lines
1.2 KiB
ReStructuredText
Raw Normal View History

2016-04-18 14:25:38 +02:00
Installation
============
Requirements
-------------
2017-06-02 11:48:14 +02:00
Ubuntu/Debian
~~~~~~~~~~~~~
We need Python, pip and virtualenv::
2016-04-18 14:25:38 +02:00
apt-get install python-pip python-virtualenv
and graphicsmagick library for building the gallery::
2016-04-18 14:25:38 +02:00
# graphicsmagick requires to have the 5.3.1 version of gcc-5-base
2016-05-04 09:29:17 +02:00
apt-get install graphicsmagick
2016-04-18 14:25:38 +02:00
A video converter like ffmpeg::
2016-05-03 12:12:11 +02:00
apt-get install ffmpeg
or::
2016-05-04 09:29:28 +02:00
2016-05-03 12:12:11 +02:00
apt-get install libav-tools
For deployment, we need rsync::
2017-05-05 16:52:12 +02:00
apt-get install rsync
2017-06-02 11:48:14 +02:00
Mac
~~~
We need Brew::
2017-06-02 11:48:14 +02:00
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and graphicsmagick library for building the gallery::
2017-06-02 11:48:14 +02:00
brew install graphicsmagick
A video converter like ffmpeg::
2017-06-02 11:48:14 +02:00
brew install ffmpeg
For deployment, we need rsync::
2017-06-02 11:48:14 +02:00
brew install rsync
2016-04-18 14:25:38 +02:00
Installation in virtualenv
--------------------------
1. Create a virtualenv, and activate it::
2016-05-04 09:29:28 +02:00
virtualenv ve
source ve/bin/activate
2016-04-18 14:25:38 +02:00
2. Download and install Prosopopee::
2016-05-04 09:29:28 +02:00
pip install prosopopee
2018-02-12 11:50:46 +01:00
Docker
------
Get the Docker image::
docker pull beudbeud/prosopopee
Run::
2018-02-12 11:51:01 +01:00
2018-02-12 11:50:46 +01:00
docker run --rm -v $(pwd):/site prosopopee
More informations https://hub.docker.com/r/beudbeud/prosopopee/