Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitpod setup #63

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,7 @@ dist
sw.*

# Mac OSX
.DS_Store
.DS_Store

# packages lock
package-lock.json
15 changes: 15 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ports:
- port: 3000
onOpen: open-preview
# - port: 3001
# onOpen: ignore

tasks:
- name: json
init: |
npm install -g npm
npm i && gp sync-done bundle
command: npm run generate
- name: nuxt
init: gp sync-await bundle
command: npm run dev
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 🛍 Ecommerce Store with Netlify Functions and Stripe

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)

> A serverless function to process stripe payments with Nuxt, Netlify, and Lambda

Demo site is here: [E-Commerce Store](https://ecommerce-netlify.netlify.com/)
Expand Down