Skip to content

Fix setup command #44

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

Merged
merged 1 commit into from
Dec 17, 2017
Merged

Fix setup command #44

merged 1 commit into from
Dec 17, 2017

Conversation

dweber019
Copy link
Member

As nps isn't available before yarn install we can't yarn install in nps

Adding package.json script to first install yarn dependencies and then setup database

Probably fixes #43

Adding package.json script to first install yarn dependencies and then setup database
@dweber019 dweber019 added the bug label Dec 15, 2017
@dweber019 dweber019 requested a review from hirsch88 December 15, 2017 20:53
'.env'
db: {
script: series(
'nps db.migrate',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To run typorm we have to create typorm.json first with nps config

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As db.migrate and db.seed already contain nps config we don't need this here.

@dweber019 dweber019 merged commit 4493f6e into develop Dec 17, 2017
@dweber019 dweber019 deleted the feature/fix-setup-command branch December 17, 2017 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't run npm start setup
2 participants