Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save atazmin/4def664d9319f58ca1eb82c7eaa2d52e to your computer and use it in GitHub Desktop.
Save atazmin/4def664d9319f58ca1eb82c7eaa2d52e to your computer and use it in GitHub Desktop.

Deploy Nuxt Universal to AWS Elastic Beanstalk via AWS CodePipeline and Bitbucket YouTube

Procfile

web: npm run deploy

package.json

"deploy": "npm run build && npm run start"

<style lang="scss">

"deploy": "npm install sass-loader && npm run build && npm run start"
@jahidanowar
Copy link

What have u used in .gitignore ?

@atazmin
Copy link
Author

atazmin commented Oct 28, 2021

What have u used in .gitignore ?

Hi @jahidanowar, Here is what I got, not 100% if it is from that video.

# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
/logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# Nuxt generate
dist

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# IDE / Editor
.idea

# Service worker
sw.*

# macOS
.DS_Store

# Vim swap files
*.swp

# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment