superdesk/newsroom

Updated install instructions for newshub/newsroom

Opened this issue · 1 comments

If you try and install newsroom using pip (python2.x) you will eventually get an error saying it cannot install planning as it needs python 3. So install pip3 (and python 3) in order to make this work.

Also:
I had to run this command (prior to get the pip3-message):
pip install --upgrade setuptools
(which could be just because I had a newly installed box)

There are some missing parts in the documentation:

  1. You need to run this on Ubuntu 18.04 or above. Newshub/room requires Python 3.6.

  2. You need to install redis-server first
    apt install redis-server

  3. You need to install Mongodb
    apt install mongodb

  4. You need to install elasticsearch
    curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
    echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
    apt install elasticsearch

change to localhost (host?) in elasticsearch.yml

network.host: localhost

sudo nano /etc/elasticsearch/elasticsearch.yml

systemctl start elasticsearch.service
systemctl enable elasticsearch

  1. Before you install newshub/newsroom. You need to change the version number for superdesk-core in requirements.txt to 1.32 (in the current version of newsroom). By default it says 1.33.7 which is not supported by the version you get when cloning from github. You are getting version 1.0 when you do this.