Giter Site home page Giter Site logo

Comments (8)

mjackson avatar mjackson commented on May 3, 2024 1

This is rad, @NickFoden. Thank you for the example! I went ahead and added the $PORT env var to the Express starter repo already.

Was there something about the file-based route conventions that didn't work with your setup? Or did you just prefer to use config.routes in your remix.config.js?

from remix.

chaance avatar chaance commented on May 3, 2024 1

Hey @NickFoden I know it's been a while, but I'd love to get this in our examples directory. Have you tried running with more recent versions by chance?

from remix.

NickFoden avatar NickFoden commented on May 3, 2024 1

@chaance as expected this is way simpler today and confirmed works great when selecting the Remix App Server I may try again with express. But at moment this is very cool news.

NickFoden/remix-app-server-gae#1

  • see the Notes.md file, I will clean up with proper bullets and formatting with the gcloud cli commands and push a commit after do some things today.

Deployed here:

from remix.

MichaelDeBoey avatar MichaelDeBoey commented on May 3, 2024 1

@NickFoden It would be awesome to have a PR that adds an example to our repo.

from remix.

NickFoden avatar NickFoden commented on May 3, 2024 1

@NickFoden It would be awesome to have a PR that adds an example to our repo.

Sure thing. Will add this week. Have few urgent items first.

from remix.

NickFoden avatar NickFoden commented on May 3, 2024

Yeah exactly right @mjackson I went through the docs example with team & gist route etc, and worked great locally. When I deployed on app engine and I clicked Links to go to team would just spin and spin. In the console I could see the request "pending" for minutes and tab showing spinning until I cancelled. Hitting it directly mydomain.com/teams was also a no go with that setup. I was looking into the app engine handlers you can configure in app.yaml and tried few ways with static dir etc, but couldn't sort it. I usually deploy API's on app engine, so I am thinking another dev will have the experience to make quick work of this speedbump. I'll keep poking around and see if I can sort this.

handlers:
- url: /
  static_dir: build
handlers:
- url: /.*
  secure: always
  redirect_http_response_code: 301
  script: auto

from remix.

NickFoden avatar NickFoden commented on May 3, 2024

@chaance I have not, but have been meaning to update a project. Will circle back here in near future after doing a deployment and see what is required. I think it's going to be much simpler today.

from remix.

chaance avatar chaance commented on May 3, 2024

Closing the issue but feel free to add a comment here when/if you're able to get the PR in!

from remix.

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.