Skip to content

Commit

Permalink
fix(configurer): remove docker-compose instruction from sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Jan 11, 2024
1 parent feb160a commit cc049a3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions configurer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,15 @@ export default class DatabaseConfigurer extends BaseConfigurer {
mongo: 'mongoose'
}

this.logger
const instruction = this.logger
.instruction()
.head('Run following commands to get started:')
.add(`npm install ${libraries[connection]}`)
.add(`docker-compose up -d`)
.render()

if (connection !== 'sqlite') {
instruction.add(`docker-compose up -d`)
}

instruction.render()
}
}

0 comments on commit cc049a3

Please sign in to comment.