-
Notifications
You must be signed in to change notification settings - Fork 492
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
scripts for rebuilding a dev environment (with sample data) #7256
Comments
Some ideas:
"Birds and tress" data sounds good. It should be quick to load. dataverse-sample-data sometimes is a bit slow, yet we could change that. |
|
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Oct 23, 2020
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Oct 23, 2020
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Oct 23, 2020
…Migrate callback SQL script. IQSS#7256
pdurbin
added a commit
that referenced
this issue
Oct 27, 2020
I've made two pull requests:
|
pdurbin
added a commit
that referenced
this issue
Oct 29, 2020
kcondon
added a commit
that referenced
this issue
Oct 30, 2020
add script for rebuilding dev environment #7256
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Nov 6, 2020
…will be applied in order (cannot create an older, out-of-order version as this would break migrations for everyone). IQSS#7256
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Nov 6, 2020
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Nov 6, 2020
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Nov 14, 2020
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Dec 1, 2020
…QSS#7256 introduced a migration for this.
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Jun 11, 2021
…QSS#7256 introduced a migration for this.
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Aug 23, 2021
…QSS#7256 introduced a migration for this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yesterday in tech hours we talked about things to help developers and I brought up what I think of as the "rebuild with sample data" scripts I've been using for years and years. (I stopped using them only recently because we switched to Payara.)
There are lots of reasons developers might want to rebuild from time to time:
By rebuild I don't mean that every single dependency is removed. In fact, the application server (Glassfish or Payara) is largely untouched in my scripts. That said, a number of major changes are made:
These scripts eventually evolved into the ones we used on the phoenix server for many years. This server was rebuilt as described above on every run. The scripts can be found at https://github.com/IQSS/dataverse/tree/develop/scripts/deploy/phoenix.dataverse.org
After "rebuild" has run, the "post" scripts gets executed, and starts with some setup...
... and then continues on to load some sample data. As I mentioned on the call, these scripts create some "birds and trees" users, dataverses, and datasets. (Even though our sample data repo is newer, it doesn't create users.) The Spruce Goose dataset (screenshot below) might be familiar.
When estimating this issue, here are some questions to consider:
The text was updated successfully, but these errors were encountered: