diff --git a/.gitignore b/.gitignore index 7ed4ad0..44de14c 100644 --- a/.gitignore +++ b/.gitignore @@ -85,4 +85,7 @@ dist sw.* # Mac OSX -.DS_Store \ No newline at end of file +.DS_Store + +# packages lock +package-lock.json \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..5c66724 --- /dev/null +++ b/.gitpod.yml @@ -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 diff --git a/README.md b/README.md index 35f4678..811a562 100644 --- a/README.md +++ b/README.md @@ -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/)