Skip to content

Instantly share code, notes, and snippets.

View migueldiganchi's full-sized avatar

Miguel Diganchi migueldiganchi

View GitHub Profile
@fega
fega / deploy.sh
Last active August 9, 2021 21:00
Quick deploy nuxt to heroku
# in the nuxt app directory
heroku create
# Set ENV_VARS
heroku config:set NPM_CONFIG_PRODUCTION=false HOST=0.0.0.0 NODE_ENV=production
# CREATE Procfile
echo 'web: npm run start' > Procfile
# ADD JSON script