0.0.7 • Published 2 years ago

@sagarchauhan005/nuxt-serverless-installer v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Nuxt Serverless Installer

A simple nuxt installer package that guides you into installing a fully optimised Nuxt Serverless app

Installation

  • Run npm install @sagarchauhan005/nuxt-serverless-installer into your app and then follow the steps.
  • Run make setup to set up the project.
  • Modify your nuxt.config file from
    exports default {
    to
    module.exports = {
  • Finally, run make deploy to deploy your app.
  • To access your lambda logs directly, please install Bref Dashboard (Visit https://dashboard.bref.sh/ and download the deb package for linux)

Manual Installation

Run Setup

  1. Run the following command.

      npm install -g serverless
      npm install serverless-apigw-binary
      npm install serverless-offline
  2. Go to your serverless.yml file and enter your own "UNIQUE" service name

service: <your-dummy-site-name>  # service: kartmax-nuxt-dummy-site
  1. Modify your nuxt.config file from

    exports default {

    to

    module.exports = {
  2. Now as a last step, install aws-cli for your OS and then run 'serverless deploy' as a command (https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)

  3. To access your lambda logs directly, please install Bref Dashboard (Visit https://dashboard.bref.sh/ and download the deb package for linux)

Author

Sagar Chauhan works as a Project Manager - Technology at Greenhonchos. In his spare time, he hunts bug as a Bug Bounty Hunter. Follow him at Instagram, Twitter, Facebook, Github

License

MIT

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago