Git Product home page Git Product logo

templatus / templatus-hotwire Goto Github PK

View Code? Open in Web Editor NEW
216.0 216.0 18.0 11.59 MB

Opinionated template for starting new web applications with Ruby on Rails and Hotwire

Home Page: https://templatus-hotwire.ledermann.dev

License: MIT License

Shell 2.92% JavaScript 5.64% Ruby 65.55% Dockerfile 0.65% CSS 0.40% HTML 6.69% TypeScript 6.44% Slim 11.70%
hotwire rails stimulusjs template vitejs

templatus-hotwire's Issues

Almost all assets are served over http 1 not http2 on local

Hello Georg,

I've setup the project as described in the README both locally using puma-dev and on docker, however my assets still get served over http 1. I opened your demo app, and I notice it gets served over the h2 protocol. I am new to rails in general but I was just wondering of we need a production deployment to enable h2 protocol or am I missing something?
Screen Shot 2022-01-10 at 6 30 49 PM

Licence

Hi.

This template is nice & neat. Would you mind adding a licence?

  • Xander

Blocked host: templatus-hotwire.test

Thanks for sharing your great work as open source! ๐Ÿš€

Carefully following the README setup guide on MacOS, this occurs after step 5:

Following your setup tutorial Blocked host: templatus-hotwire.test
To allow requests to templatus-hotwire.test make sure it is a valid hostname (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:

config.hosts << "templatus-hotwire.test"
For more details view: the Host Authorization guide

In .env, changing APP_HOST=templatus-hotwire.example.com to APP_HOST=templatus-hotwire.test, and running bin/setup again fixes this.

But it doesn't seem this is the intended way things should work for the development environment? Perhaps there needs to be a .env.dev, or the README needs updating for clarity.

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.