Skip to content

Conversation

@ichesnokov
Copy link

@ichesnokov ichesnokov commented Aug 4, 2016

A series of dirty hacks to provide easy deployment of a perldance database.

Primary changes:

  • Use a newer Interchange6::Schema::Populate interface
  • More consistency in email addresses
  • Fiddle with medias.priority column - create it earlier to let the database be populated with test data during upgrade (can not be populated during installation of version 1 because schema thinks that "priority" column already exists, while it does not).
  • Added bin/dh-install script and basic DB installation instructions

Instructions:

1. Install PostgreSQL and create database "perldance"
2. run ./bin/dh-install
3. run ./bin/dh-prepare-upgrade && ./bin/dh-upgrade

Database is ready for the use.
@ichesnokov
Copy link
Author

Hmm, no, I didn't mean to make a PR here :)

@ichesnokov ichesnokov closed this Aug 4, 2016
@ichesnokov
Copy link
Author

P.S. But looking at it it's easier to understand problems with initial DB deployment btw - maybe some bits from here can be reused to fix these problems.

@racke
Copy link
Member

racke commented Aug 4, 2016

Yeah, we are going through your commits and check out the useful bits. Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants