Setup a rails app for the website
Spent 30 minutes wondering whether to use Rails or anything else. Realized it is better to stick to what I know will come batteries included for most things I need. Don't want a wild goose chase on stackoverflow for something I don't know. I'll optimize with a framework I know well (or atleast knew before).
Thanks to a video by a good soul on Youtube https://www.youtube.com/watch?v=3xcUSIu3nXA
I was able to add Tailwind to a Rails project.
In addition to that:
* I chose to stick to the previously done index.html static landing page.
* But Rails does not support using the assets generated via webpacker to be used in public/index.html
* And don't want to any requests to the landing page to go through the Rails app
So I've gone an extra mile to configure webpack to output a public/index.html that nginx can serve directly. This particular config trick definitely warrants a blog post. Marking it for sometime next week.
Thanks to a video by a good soul on Youtube https://www.youtube.com/watch?v=3xcUSIu3nXA
I was able to add Tailwind to a Rails project.
In addition to that:
* I chose to stick to the previously done index.html static landing page.
* But Rails does not support using the assets generated via webpacker to be used in public/index.html
* And don't want to any requests to the landing page to go through the Rails app
So I've gone an extra mile to configure webpack to output a public/index.html that nginx can serve directly. This particular config trick definitely warrants a blog post. Marking it for sometime next week.
Akash Manohar
Author
Hopefully I can complete this site in a few weeks. I still don't have screenshots and demo video given that certain other tasks are pending. Using the Tenet trailer video as a placeholder for now.
Please sign in to leave a comment.