Skip to content

Files

Latest commit

 

History

History
34 lines (24 loc) · 944 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 944 Bytes
  1. Fork/Clone

  2. Sign up for Stripe (if you don't already have an account).

  3. Set the Stripe Secret key as an environment variable:

    $ cd server
    $ export STRIPE_SECRET_KEY=UPDATE_ME
  4. Run the server-side Flask app in one terminal window:

    $ cd server
    $ python3.6 -m venv env
    $ source env/bin/activate OR source/Scripts/active (this depends on your environment)
    (env)$ pip install -r requirements.txt
    (env)$ python app.py

    Navigate to http://localhost:5000

  5. Update stripePublishableKey with the Stripe Publishable key in client/src/components/Order.vue.

  6. Run the client-side Vue app in a different terminal window:

    $ cd client
    $ npm install
    $ npm run dev

    Navigate to http://localhost:8080