Skip to content
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

Updated install instructions for newshub/newsroom #1085

Open
trondhuso opened this issue Nov 6, 2020 · 1 comment
Open

Updated install instructions for newshub/newsroom #1085

trondhuso opened this issue Nov 6, 2020 · 1 comment

Comments

@trondhuso
Copy link

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)

@trondhuso
Copy link
Author

trondhuso commented Nov 8, 2020

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.

@trondhuso trondhuso changed the title install instructions - pip -> pip3 Updated install instructions for newshub/newsroom Nov 9, 2020
@superdesk superdesk deleted a comment from ashutoshdev Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant