adyen-examples / adyen-python-online-payments

Accept payments on your Python/Flask based website with cards, wallets, and key local payment methods
MIT License
42 stars 32 forks source link

README instructions don't work well for windows. #19

Closed sunchips closed 2 years ago

sunchips commented 2 years ago

I think the following seemed to work but someone should re-verify and update the README accordingly. Perhaps even make a separate README for windows?

python3 -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
set FLASK_ENV=development
venv\Scripts\activate
venv\Scripts\python.exe app/app.py

I think after creating a virtual environment, one should always just use venv\Scripts\* for python commands. But dunno, don't use windows much.

gcatanese commented 2 years ago

@sunchips Thanks for pointing it out, we are going to look into it and test it on Windows (we work on Mac/Linux but we will make sure that it is also Windows compatible)

gcatanese commented 2 years ago

Hi @sunchips, I have included the scripts for Windows (but I am not a Windows expert), can you please check this branch https://github.com/adyen-examples/adyen-python-online-payments/tree/19-readme-instructions-dont-work-well-for-windows and let me know if they are correct. Many thanks.

PS I have used py instead of python3, if I understand correctly this alias is available on Python for Windows distribution