For simplicity sake, I'm going to only support Debian based distros.
$ apt install git -y
$ cd ~
$ git clone https://github.com/Oddly/ffscrape.git
Code will now be inside a newly created ffscrape directory.
A virtual environment is a means to isolate the packages you need for this project and thus not installing them in your OS Python installation.
$ python3 -m venv ~/virtualenv
Then, to go "into" the environment, execute:
$ source ~/virtualenv/bin/activate
You are now in a isolated environment, wherein modules you install with pip for Python are kept. When you leave this environment ($ exit
), these modules won't be available to you.
After activating, you'll be able to access them again.
Then, install the requirements for the script to work. Replace the directory with the place you did your git clone.
$ cd ~/ffscrape
$ pip install -r ./requirements.txt
To use this script, run the script itself. It will ask you some information to get started.
$ ./fanfiction