Giter Club home page Giter Club logo

Comments (6)

shamsup avatar shamsup commented on May 27, 2024 1

I may have linked to the wrong place in the serverless docs. This is the link for the dashboard setup: https://www.serverless.com/framework/docs/guides/dashboard

This template circumvents initializing a serverless app, so you just need to register for the the dashboard and add your app and org to the serverless.yml file.

from remix-starter-serverless.

cayblood avatar cayblood commented on May 27, 2024

Thanks. I'll try that and report back.

from remix-starter-serverless.

cayblood avatar cayblood commented on May 27, 2024

@shamsup there's doesn't seem to be a way to install the serverless CLI without it trying to create an app for you. I can register at https://www.serverless.com/, but the moment you start to use the CLI, it prompts you to create an app as the first step. I don't see a way to initialize a serverless.yml file without creating a project.

from remix-starter-serverless.

shamsup avatar shamsup commented on May 27, 2024

npm i -g serverless installs the cli (or yarn or pnpm). This template already has a serverless.yml file, so you shouldn't be initializing one.

Are you trying to use the serverless dashboard, or are you just trying to deploy a Remix app to AWS Lambda?

from remix-starter-serverless.

shamsup avatar shamsup commented on May 27, 2024

If you run commands from the directory for this template, you shouldn't be prompted to initialize anything else. Commands like sls deploy, sls package, sls info, etc should work without having to create any additional accounts (other than your AWS account)

from remix-starter-serverless.

cayblood avatar cayblood commented on May 27, 2024

@shamsup

If you run commands from the directory for this template, you shouldn't be prompted to initialize anything else. Commands like sls deploy, sls package, sls info, etc should work without having to create any additional accounts (other than your AWS account)

Doesn't the serverless.yml file need to be modified before running those commands? The bucket name, for example, needs to change, right? It's not clear that you can just run everything as-is and have it work.

I'm trying to use this project as a starting point for deploying a Remix 2 app on AWS Lambda with RDS Postgres as the backend DB. The grunge stack is designed for DynamoDB, so it requires some adaptation. I was thinking the best approach would be to try to create an empty serverless project and then copy remix code into it piece by piece, but I'm just trying to understand how others have done it already. Thanks for your time in responding.

from remix-starter-serverless.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.