Shreddit icon indicating copy to clipboard operation
Shreddit copied to clipboard

Update the installation page, the info is very old

Open ghost opened this issue 6 years ago • 2 comments

The installation instructions don't work any more. For example when you run:

pip install -r requirements.txt

It tells you to upgrade pip. After doing so, the pip command doesn't work any more. It's changed.

Please update the readme.md file.

ghost avatar Aug 31 '18 08:08 ghost

Pretty sure a conflict got merged: https://github.com/x89/Shreddit/commit/f4a5b67cebecdde4a679ba98c86ae5592f6919ca#diff-b4ef698db8ca845e5845c4618278f29a

Edit your requirements.txt file to look like this:

nose==1.3.7
appdirs==1.4.3
arrow==0.10.0
backports-abc==0.5
certifi==2017.4.17
chardet==3.0.4
idna==2.5
praw==5.0.0
prawcore==0.11.0
python-dateutil==2.6.0
PyYAML==3.12
requests==2.18.1
shreddit==6.0.7
six==1.10.0
tornado==4.5.1
update-checker==0.16
urllib3==1.21.1

francis826 avatar Oct 05 '18 05:10 francis826

Thank you, this worked for me on windows 10.

Instructions for others (after installing python 3):

  1. Make a file called requirements.txt and copy paste the above text into it
  2. Run this command while in the same directory as requirements.txt. , pip install -r requirements.txt
  3. Navigate to where shreddit was installed, in my case it was C:\Users\Alex\AppData\Roaming\Python\Python38\site-packages\shreddit
  4. run app -g to generate the yaml file
  5. Follow the rest of the instructions on the readme on how to setup the 4 fields in the yaml file
  6. Run app . You should not see any errors

Note: pip said it would install the shortcut to my path but it never did, which is why in step 3 I had to navigate there

ultra-taco avatar Jul 26 '20 23:07 ultra-taco