This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 6 years ago

#11 closed enhancement (invalid)

Detect pre-configured DB

Reported by: dmartinc Owned by:
Priority: normal Milestone: v0.97.0
Component: Installation Version: 0.97.0
Keywords: install Cc:

Description

For the install and develop commands, we should detect if there is a configured DB already, with:

Configuration.Config.getInstance().getDBConnectionParams()

If the values are the same as indico.conf.sample (localhost, 9675) offer to create a DB directory.

We should also add a flag --force-db-creation that forces these commands to prompt the user for DB creation.

Change History (2)

comment:1 Changed 6 years ago by pferreir

  • Component changed from General to Installation
  • Summary changed from [Install] Detect pre-configured DB to Detect pre-configured DB

comment:2 Changed 6 years ago by pferreir

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.