templatus / templatus-hotwire Goto Github PK
View Code? Open in Web Editor NEWOpinionated template for starting new web applications with Ruby on Rails and Hotwire
Home Page: https://templatus-hotwire.ledermann.dev
License: MIT License
Opinionated template for starting new web applications with Ruby on Rails and Hotwire
Home Page: https://templatus-hotwire.ledermann.dev
License: MIT License
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?
Hi.
This template is nice & neat. Would you mind adding a licence?
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.
Mac m1 air version 14.4 (23E214) Sonoma
http://vite.templatus-hotwire.test:3036/vite-dev/
Is working.
go to localhost:3000
Gives me "unknown app"
And all localhost:3000 is redirected to. https://templatus-hotwire.test
(I've been out of the rails biz for sometime, and used to be reasonably competent, hopefully this is not too stupid.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.