Rewrite db/populate.rb: * Fix broken code. * Pull random posts from Danbooru for more realistic data. * Generate more data (wiki pages, artist commentaries, artist urls). * Make the amount of data generated configurable with environment variables. * Use FFaker to generate better random text and usernames. Usage: * docker-compose exec danbooru bin/rails runner db/populate.rb # with Docker * bin/rails runner db/populate.rb # without Docker
7.1 KiB
7.1 KiB