silver icon indicating copy to clipboard operation
silver copied to clipboard

The installation procedure is not working.

Open PoDuck opened this issue 8 years ago • 4 comments

I have been trying to get this working now for a few hours, while trying to not modify the source. The procedure listed for installing it is severely lacking.

First of all, I'm installing it on ubuntu, where there is no build-dep package, although there is a build-essential package, which I assume is what is needed.

I first tried to import it into an existing project, and it didn't work, so I tried setting up a new VE, and importing it there in a blank project, and that wasn't working either. It gave me errors while importing things. Some of the things were not importing because they weren't added to the installed apps, but others didn't import until I switched to python 2.7.

It also appears that far from only needing to add 'silver' to the installed apps, there are other apps that need to be added to the settings.py file as well, such as dal, dal_select2, and rest_framework. Even then, I get an error about there being no "PAYMENT_PROCESSORS" attribute in settings, and I'm assuming I need to define that in the settings.py file somewhere.

Anyway, if all of this is true, it needs to be documented in the install instructions. If not, something is broken.

PoDuck avatar Mar 06 '17 16:03 PoDuck

agree. Here is an example that got it working for me https://github.com/silverapp/silver/blob/master/settings.py

and btw, current version also needs pip install html5lib==1.0b8

Alex-CodeLab avatar Mar 12 '17 12:03 Alex-CodeLab

Hi @PoDuck If you are not using Silver as a standalone app, which probably is the case, you'll have to go through the configuration steps that you mentioned. Thanks for pointing it out, we'll make sure to document this stuff.

Hi @allox We'll check on that dependency. Thanks for your contribution.

bogdanpetrea avatar Mar 15 '17 14:03 bogdanpetrea

Hi guys. I had exactly the same problems that I mentioned @PoDuck, I solved it to trial and error before seeing this issue. @bogdanpetrea If you want, I can send a PR to help with the documentation of these steps. Let me know.

iris9112 avatar Dec 20 '18 23:12 iris9112

Hi @iris9112. Sounds good.

bogdanpetrea avatar Dec 21 '18 15:12 bogdanpetrea