[openstreetmap/openstreetmap-website] Create a dev:populate task to add fake data to your dev environment (#3101)

Andy Allan notifications at github.com
Wed Mar 24 14:41:15 UTC 2021


> I was just giving this `rake dev:populate` a try. It works!

Great, thanks for testing it out! Glad to hear that it worked.



> If so, then I guess the existing contents of `auto_annotate_models.rake` should be merged into this file? but otherwise maybe it's better to call this something more specific. `populate.rake` perhaps.

The `auto_annotate_models.rake` was generated by the gem, so I'd like to leave it as-is to smooth any future upgrades.

I'm happy to rename `development.rake` to `populate.rake` - I didn't put much thought into the name, only that we have an existing `testing.rake` with test-related stuff in it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3101#issuecomment-805877423
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210324/f8ae99b4/attachment.htm>


More information about the rails-dev mailing list