Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 689 Bytes

File metadata and controls

48 lines (32 loc) · 689 Bytes

Saving cards without payment

Requirements

How to run

  1. Create and activate a new virtual environment

On Linux / Unix / MacOS

python3 -m venv env
source env/bin/activate

On Windows (PowerShell)

python3 -m venv env
.\env\Scripts\activate.bat
  1. Install dependencies
pip install -r requirements.txt
  1. Export and run the application

On Linux / Unix / MacOS

export FLASK_APP=server.py
python3 -m flask run --port=4242

On Windows (PowerShell)

$env:FLASK_APP=“server.py"
python3 -m flask run --port=4242
  1. Go to localhost:4242 in your browser to see the demo