Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seed test data #99

Open
jasonaowen opened this issue Jun 18, 2019 · 0 comments
Open

Seed test data #99

jasonaowen opened this issue Jun 18, 2019 · 0 comments
Labels
back-end Java, Spring, etc database PostgreSQL, Spring Data JDBC documentation Getting started, help docs, etc enhancement New feature or request

Comments

@jasonaowen
Copy link
Owner

Following the installation instructions to set up a developer instance leaves the developer with a mostly empty database, which makes it hard to work on a number of issues - anything involving pagination, rendering of actual projects, working with tags, working with other authors, working with multiple authors, and so on. It would be nice if there were a way to more quickly add some test data to the database.

I don't know exactly how this should work. One way would be to have a command, like apiSync, that directly creates a bunch of rows in the database. Another would be to have some kind of separate, optional Flyway migration. Another would be to have some Gradle task that loads the data. I'm sure there are other options, as well!

Some of the data we'd need includes:

  • tags
  • test user(s) (and corresponding recurse_profile)
  • projects (with lorem ipsum or so, some tags, one or more authors, and either a randomly- or user-chosen visibility level)
@jasonaowen jasonaowen added enhancement New feature or request back-end Java, Spring, etc database PostgreSQL, Spring Data JDBC documentation Getting started, help docs, etc labels Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Java, Spring, etc database PostgreSQL, Spring Data JDBC documentation Getting started, help docs, etc enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant