I think you have looked at the tutorial from Mr. Heinemeier Hansson at least once or twice and have a similar setup.
rails new kamal_pg --css tailwind --skip-test --database=postgresql
cd kamal_pg
#!/bin/bash | |
# This script takes a clean Ubuntu Server 24.04 LTS AMI and installs and configures | |
# everything needed to deploy a Rails 7 app to it. The resulting state is a secure, | |
# production-ready instance. | |
set -euo pipefail | |
# --- AESTHETICS --- |
const minute = 60; | |
const hour = minute * 60; | |
const day = hour * 24; | |
const week = day * 7; | |
const month = day * 30; | |
const year = day * 365; | |
/** | |
* Convert a date to a relative time string, such as | |
* "a minute ago", "in 2 hours", "yesterday", "3 months ago", etc. |
gender: { | |
nominative: { | |
neutral: 'they', | |
masculine: 'he', | |
feminine: 'she', | |
elverson: 'ey', | |
spivak: 'E', | |
humanist: 'hu', | |
peh: 'peh', | |
per: 'per', |
Solution to https://twitter.com/nolanlawson/status/578948854411878400.
doSomething().then(function () {