Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

create doesn’t set DB_USER & DB_PASSWORD env vars if you skip creating a DB #310

Closed
brandonkelly opened this issue Mar 23, 2021 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@brandonkelly
Copy link
Member

Steps to reproduce

  1. Run nitro create
  2. When asked whether a DB should be created, enter n

Expected behavior

The .env file should have the following values;

DB_DATABASE=
DB_USER=nitro
DB_PASSWORD=nitro

Actual behavior

The .env file has the following values:

DB_DATABASE=
DB_USER=root
DB_PASSWORD=
@brandonkelly brandonkelly added the bug Something isn't working label Mar 23, 2021
@brandonkelly
Copy link
Member Author

Ditto for DB_SERVER.

@jasonmccallister jasonmccallister added this to the 2.0.8 milestone Apr 7, 2021
@jasonmccallister jasonmccallister self-assigned this Apr 8, 2021
@jasonmccallister
Copy link
Member

Resolved in 668eb46. We will still prompt the user to update the .env file but will set all the environment variables we know about/are default.

@jasonmccallister
Copy link
Member

Released with v2.0.8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants