Dress to Impress, a big fancy Neopets customization tool!
Find a file
Matchu 6bbef7e75e Move the host: db part of the dev container into its environment vars
Okay, so I've kept `database.yml` using the new username and password
`impress_dev`, cuz I like that it helps clarify that it's dev stuff and
is impossible to confuse with prod. (I updated my local setup to match!)

But hardcoding `host: db` into here breaks my local setup where the
database _isn't_ at the hostname `db`. So I add a way for new optional
database URL environment variables to get merged in with these settings,
and then configured the dev container to use that—and just in the most
limited override possible, to avoid duplicating stuff we don't need to.
(I could've just used the same names `DATABASE_URL_{PRIMARY,OPENNEO_ID}`
for this, but idk, I think it's confusing to have the same one for both
dev and prod, even though Rails _does_ basically do this; see below.)

Normally, the environment variable `DATABASE_URL` just _does_ this, and
you don't need to include a `url` key at all to get this behavior. But
since we've got the legacy two-database thing going on, we do this
instead! If we were to merge the `openneo_id.users` table into the
primary database, we could simplify this!
2023-10-26 14:20:15 -07:00
.devcontainer Move the host: db part of the dev container into its environment vars 2023-10-26 14:20:15 -07:00
.vscode Add the Pardon Our Dust page 2023-10-23 19:05:09 -07:00
app Remove unused Javascript utility libraries 2023-10-25 16:24:50 -07:00
bin Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
config Move the host: db part of the dev container into its environment vars 2023-10-26 14:20:15 -07:00
db Stop orphaning hangers when deleting lists 2023-10-24 15:35:21 -07:00
deploy Configure nginx to send pre-gzipped files to the client 2023-10-25 15:44:01 -07:00
lib Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
public Stop saving local copies of SWFs 2023-10-23 19:05:10 -07:00
test Remove unused automated testing files & gems 2023-10-25 16:09:01 -07:00
vendor Merge branch 'main' into devcontainer 2023-10-25 16:47:23 -07:00
.gitignore Remove Vagrant config 2023-10-23 19:05:09 -07:00
.ruby-version Upgrade to Ruby 3.1.4 2023-10-23 19:05:07 -07:00
config.ru Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
Gemfile Remove unused automated testing files & gems 2023-10-25 16:09:01 -07:00
Gemfile.lock Remove unused automated testing files & gems 2023-10-25 16:09:01 -07:00
LICENSE.md Update our license 2023-10-23 19:04:56 -07:00
package.json Add Prettier to dev dependencies 2023-10-24 16:37:06 -07:00
Procfile.dev Bundle wardrobe-2020 into the app 2023-10-23 19:05:08 -07:00
Rakefile Uninstall resque 2023-10-23 19:05:04 -07:00
README.md Oops, needs to be a README.md file! 2023-10-25 16:31:41 -07:00
yarn.lock Add Prettier to dev dependencies 2023-10-24 16:37:06 -07:00

Dress to Impress beach logo

Dress to Impress

Oh! We've been revitalizing the Rails app! Fun!

There'll be more to say about it here soon :3