Skip to content

Installation Update Guide

Daniel edited this page Jun 11, 2021 · 12 revisions

1 - Downloading RedSea

Recommended:

Windows:

Go to https://git-scm.com/download/win and follow the instructions to install Git in the CMD.

Linux:

sudo apt install git-all

Termux:

pkg install git

MacOS

Already installed in Mavericks 10.9 and above

After installing Git:

Open the CMD/Terminal:

cd [any folder you want RedSea downloaded]
git clone https://github.com/Dniel97/RedSea.git
cd RedSea

Windows

ren config\settings.example.py settings.py

Linux/MacOS/Termux

mv config/settings.example.py config/settings.py

Alternative:

Click on the green button and click on Download zip or you can always use this link: Download Master ZIP. Unzip the downloaded RedSea-master.zip to any folder you like for example ~/Music.

After downloading RedSea, rename the file config/settings.example.py to config/settings.py, now you can set all your preferences inside settings.py.

2 - Installing RedSea

Linux:

sudo apt update
sudo apt install python3 ffmpeg
cd [the folder you downloaded RedSea in]
cd RedSea
pip install -r requirements.txt

Termux:

Note: You CAN install NodeJS and NPM with Termux but it won't work with the Electron captcha app!

apt update
pkg update
pkg install python ffmpeg
cd [the folder you downloaded RedSea in]
cd RedSea
pip install -r requirements.txt

macOS:

If you haven't already installed Homebew: Run /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

brew install python 
brew install ffmpeg
cd [the folder you downloaded RedSea in]
cd RedSea
pip3 install -r requirements.txt

Windows:

  1. Download ffmpeg
  2. Unpack the zip folder fmpeg-nX.X-XX-XXXXXXXX-win64-gpl-X.X.zip inside C:\Program Files\ffmpeg\
  3. Go to Control Panel > System and Security > System > Advanced system settings > Environment Variables ...
  4. In the Environment Variables window, click the Path row under the Variable column, then click Edit..
  5. Click on New inside the Edit environment variable window and paste C:\Program Files\ffmpeg\bin\
  6. Now install a stable Python 3.6+release from https://www.python.org/downloads/windows/ and remember to install the right x64 or x86 according to your PC. Make sure to check the box Add Python 3.6 to the PATH!

Open the CMD:

cd [the folder you downloaded RedSea in]
cd RedSea
pip install -r requirements.txt

3 - Updating RedSea

Mandatory

If you used the Recommended installation way you can easily update your existing installation (all your created sessions will still be intact, so you don't need to create new ones):

cd [the folder you downloaded RedSea in]
cd RedSea
git pull
pip install -r requirements.txt

Important

After removing the fork from the fork network and rewriting the GIT history you need to perform a hard reset in order to use the above commands again:

git reset --hard origin/master

Optional

Sometimes it happens that the settings.py file change, if you haven't modified it at all, you can simply:

cd [the folder you downloaded RedSea in]
cd RedSea
rm config/settings.py
mv config/settings.example.py config/settings.py

which will delete your old settings.py and rename the new downloaded example file to settings.py. But if you modified settings.py you need to make the same changes in the new downlaoded settings.example.py.