Add dev:populate_sample_data
rake task to populate test data (#34676)
This commit is contained in:
parent
e17c78b679
commit
ae281f31db
2 changed files with 355 additions and 0 deletions
|
@ -90,6 +90,7 @@ development environment configured with the software needed for this project.
|
|||
- Once you have successfully set up a development environment, it will be available on http://localhost:3000
|
||||
- Log in as the default admin user with the username `admin@mastodon.local` and the password `mastodonadmin`.
|
||||
- Check out the [Mastodon docs] for tips on working with emails in development (you'll need this when creating new user accounts) as well as a list of useful commands for testing and updating your dev instance.
|
||||
- You can optionally populate your database with sample data by running `bin/rails dev:populate_sample_data`. This will create a `@showcase_account` account with various types of contents.
|
||||
|
||||
[codespace]: https://codespaces.new/mastodon/mastodon?quickstart=1&devcontainer_path=.devcontainer%2Fcodespaces%2Fdevcontainer.json
|
||||
[CONTRIBUTING]: ../CONTRIBUTING.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue