GithubHelp home page GithubHelp logo

Comments (3)

jonparker avatar jonparker commented on April 28, 2024

Sorry, I'm very new to Remix but I am interested in getting it running with AWS & DynamoDB.

Do you mean the instructions for step 4 should be something like this:

If you want to deploy to staging with a non-default AWS profile run:

export AWS_PROFILE=nonedefaultprofile
npx arc env --add --env staging ARC_APP_SECRET $(openssl rand -hex 32)
npx arc env --add --env staging SESSION_SECRET $(openssl rand -hex 32)

otherwise run:

npx arc env --add --env staging ARC_APP_SECRET $(openssl rand -hex 32)
npx arc env --add --env staging SESSION_SECRET $(openssl rand -hex 32)

from grunge-stack.

wildcat63 avatar wildcat63 commented on April 28, 2024

Sorry - follow the instructions in the README.md file to the letter. However, if you are deploying (either directly or with GitHub Actions) and you are deploying to a different profile, then you need an @aws section in your app.arc file that should look like the one in my comment with the exception of the profile line not being "profile default" but "profile my-other-aws-config-profile". Note that this only works if your aws config has multiple profiles in it. I wouldn't recommend using an AWS_PROFILE env var. That's too easy to miss from time to time. I recommend the @aws section in the .arc file instead. Hope that helps.

from grunge-stack.

jonparker avatar jonparker commented on April 28, 2024

Ok, thanks. I looked in https://github.com/remix-run/grunge-stack and couldn't see any app.arc file so I'm guessing it is generated by one of the setup steps.
I've never used Architect so will have to do a bit more reading to get my head around what it is doing.

from grunge-stack.

Related Issues (20)

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.