diff --git a/50-pandora.sh b/50-pandora.sh index 2ccc878..994d91a 100755 --- a/50-pandora.sh +++ b/50-pandora.sh @@ -8,13 +8,12 @@ apt-key add ${SOURCE_DIR}/pandora/pandora.gpg # Install packages apt-get -y update -apt-get -y --no-install-recommends install gpac ffmpeg mkvtoolnix oxframe poppler-utils python3-html5lib python3-lxml python3-numpy python3-ox python3-pil python3-pip python3-psycopg2 python3-pyinotify python3-setuptools python3-simplejson python3-virtualenv rabbitmq-server virtualenv youtube-dl +apt-get -y --no-install-recommends install gpac ffmpeg mkvtoolnix oxframe poppler-utils python-ox python3-html5lib python3-lxml python3-numpy python3-ox python3-pil python3-pip python3-psycopg2 python3-pyinotify python3-setuptools python3-simplejson python3-virtualenv rabbitmq-server virtualenv youtube-dl # Clone git repositories git clone --depth 1 https://git.0x2620.org/pandora.git /srv/pandora git clone --depth 1 https://git.0x2620.org/oxjs.git /srv/pandora/static/oxjs git clone --depth 1 https://git.0x2620.org/oxtimelines.git /srv/pandora/src/oxtimelines -git clone --depth 1 https://git.0x2620.org/python-ox.git /srv/pandora/src/python-ox # Copy Czech translataion cp ${SOURCE_DIR}/pandora/srv/pandora/static/json/locale.0xdb.cs.json /srv/pandora/static/json/locale.0xdb.cs.json @@ -26,7 +25,6 @@ cp ${SOURCE_DIR}/pandora/srv/pandora/static/oxjs/source/UI/json/locale.cs.json / # Create python virtualenv virtualenv --system-site-packages -p /usr/bin/python3 /srv/pandora cd /srv/pandora/src/oxtimelines && /srv/pandora/bin/python setup.py develop -cd /srv/pandora/src/python-ox && /srv/pandora/bin/python setup.py develop /srv/pandora/bin/pip install -r /srv/pandora/requirements.txt # Create PostgreSQL user and database