Development guide
Developing the cardscan-web library.

Clone the repo and set up the demo

The cardscan repository contains a demonstration app for the CardScan product. To build and install this library follow the following steps:
  1. 1.
    Clone the repository from github
    1
    git clone https://github.com/getbouncer/cardscan-web && cd cardscan-web
    Copied!
  2. 2.
    Install dependencies using NPM
    1
    npm install
    Copied!
  3. 3.
    Build the library using NPM and webpack
    1
    npm run build
    Copied!
    This will create a dist directory with the compiled javascript.
  4. 4.
    Start a local server to host the scanner and demo app
    1
    python -m SimpleHTTPServer 8000
    Copied!
  5. 5.
    Navigate to http://localhost:8000 to view a sample app.
Copy link