Skip to content

Commit

Permalink
improvement - removed double quotes from .env files
Browse files Browse the repository at this point in the history
  • Loading branch information
rafsaf committed Feb 12, 2022
1 parent 2cfd225 commit 61be915
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 66 deletions.
32 changes: 16 additions & 16 deletions {{cookiecutter.project_name}}/template_fastapi_users/.env.example
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
SECRET_KEY="DVnFmhwvjEhJZpuhndxjhlezxQPJmBIIkMDEmFREWQADPcUnrG"
ENVIRONMENT="DEV"
ACCESS_TOKEN_EXPIRE_MINUTES="11520"
BACKEND_CORS_ORIGINS="http://localhost:3000,http://localhost:8001"
SECRET_KEY=DVnFmhwvjEhJZpuhndxjhlezxQPJmBIIkMDEmFREWQADPcUnrG
ENVIRONMENT=DEV
ACCESS_TOKEN_EXPIRE_MINUTES=11520
BACKEND_CORS_ORIGINS=http://localhost:3000,http://localhost:8001

DEFAULT_DATABASE_HOSTNAME="localhost"
DEFAULT_DATABASE_USER="rDGJeEDqAz"
DEFAULT_DATABASE_PASSWORD="XsPQhCoEfOQZueDjsILetLDUvbvSxAMnrVtgVZpmdcSssUgbvs"
DEFAULT_DATABASE_PORT="5387"
DEFAULT_DATABASE_DB="default_db"
DEFAULT_DATABASE_HOSTNAME=localhost
DEFAULT_DATABASE_USER=rDGJeEDqAz
DEFAULT_DATABASE_PASSWORD=XsPQhCoEfOQZueDjsILetLDUvbvSxAMnrVtgVZpmdcSssUgbvs
DEFAULT_DATABASE_PORT=5387
DEFAULT_DATABASE_DB=default_db

TEST_DATABASE_HOSTNAME="localhost"
TEST_DATABASE_USER="test"
TEST_DATABASE_PASSWORD="ywRCUjJijmQoBmWxIfLldOoITPzajPSNvTvHyugQoSqGwNcvQE"
TEST_DATABASE_PORT="37270"
TEST_DATABASE_DB="test_db"
TEST_DATABASE_HOSTNAME=localhost
TEST_DATABASE_USER=test
TEST_DATABASE_PASSWORD=ywRCUjJijmQoBmWxIfLldOoITPzajPSNvTvHyugQoSqGwNcvQE
TEST_DATABASE_PORT=37270
TEST_DATABASE_DB=test_db

FIRST_SUPERUSER_EMAIL="[email protected]"
FIRST_SUPERUSER_PASSWORD="OdLknKQJMUwuhpAVHvRC"
FIRST_SUPERUSER_EMAIL=[email protected]
FIRST_SUPERUSER_PASSWORD=OdLknKQJMUwuhpAVHvRC
32 changes: 16 additions & 16 deletions {{cookiecutter.project_name}}/template_fastapi_users/.env.template
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
SECRET_KEY="{{ random_ascii_string(50) }}"
ENVIRONMENT="DEV"
ACCESS_TOKEN_EXPIRE_MINUTES="11520"
BACKEND_CORS_ORIGINS="http://localhost:3000,http://localhost:8001"
SECRET_KEY={{ random_ascii_string(50) }}
ENVIRONMENT=DEV
ACCESS_TOKEN_EXPIRE_MINUTES=11520
BACKEND_CORS_ORIGINS=http://localhost:3000,http://localhost:8001

DEFAULT_DATABASE_HOSTNAME="localhost"
DEFAULT_DATABASE_USER="{{ random_ascii_string(10) }}"
DEFAULT_DATABASE_PASSWORD="{{ random_ascii_string(50) }}"
DEFAULT_DATABASE_PORT="{{ range(4000, 7000) | random }}"
DEFAULT_DATABASE_DB="default_db"
DEFAULT_DATABASE_HOSTNAME=localhost
DEFAULT_DATABASE_USER={{ random_ascii_string(10) }}
DEFAULT_DATABASE_PASSWORD={{ random_ascii_string(50) }}
DEFAULT_DATABASE_PORT={{ range(4000, 7000) | random }}
DEFAULT_DATABASE_DB=default_db

TEST_DATABASE_HOSTNAME="localhost"
TEST_DATABASE_USER="test"
TEST_DATABASE_PASSWORD="{{ random_ascii_string(50) }}"
TEST_DATABASE_PORT="{{ range(30000, 40000) | random }}"
TEST_DATABASE_DB="test_db"
TEST_DATABASE_HOSTNAME=localhost
TEST_DATABASE_USER=test
TEST_DATABASE_PASSWORD={{ random_ascii_string(50) }}
TEST_DATABASE_PORT={{ range(30000, 40000) | random }}
TEST_DATABASE_DB=test_db

FIRST_SUPERUSER_EMAIL="[email protected]"
FIRST_SUPERUSER_PASSWORD="{{ random_ascii_string(20) }}"
[email protected]
FIRST_SUPERUSER_PASSWORD={{ random_ascii_string(20) }}
34 changes: 17 additions & 17 deletions {{cookiecutter.project_name}}/template_minimal/.env.example
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
SECRET_KEY="DVnFmhwvjEhJZpuhndxjhlezxQPJmBIIkMDEmFREWQADPcUnrG"
ENVIRONMENT="DEV"
ACCESS_TOKEN_EXPIRE_MINUTES="11520"
REFRESH_TOKEN_EXPIRE_MINUTES="40320"
BACKEND_CORS_ORIGINS="http://localhost:3000,http://localhost:8001"
SECRET_KEY=DVnFmhwvjEhJZpuhndxjhlezxQPJmBIIkMDEmFREWQADPcUnrG
ENVIRONMENT=DEV
ACCESS_TOKEN_EXPIRE_MINUTES=11520
REFRESH_TOKEN_EXPIRE_MINUTES=40320
BACKEND_CORS_ORIGINS=http://localhost:3000,http://localhost:8001

DEFAULT_DATABASE_HOSTNAME="localhost"
DEFAULT_DATABASE_USER="rDGJeEDqAz"
DEFAULT_DATABASE_PASSWORD="XsPQhCoEfOQZueDjsILetLDUvbvSxAMnrVtgVZpmdcSssUgbvs"
DEFAULT_DATABASE_PORT="5387"
DEFAULT_DATABASE_DB="default_db"
DEFAULT_DATABASE_HOSTNAME=localhost
DEFAULT_DATABASE_USER=rDGJeEDqAz
DEFAULT_DATABASE_PASSWORD=XsPQhCoEfOQZueDjsILetLDUvbvSxAMnrVtgVZpmdcSssUgbvs
DEFAULT_DATABASE_PORT=5387
DEFAULT_DATABASE_DB=default_db

TEST_DATABASE_HOSTNAME="localhost"
TEST_DATABASE_USER="test"
TEST_DATABASE_PASSWORD="ywRCUjJijmQoBmWxIfLldOoITPzajPSNvTvHyugQoSqGwNcvQE"
TEST_DATABASE_PORT="37270"
TEST_DATABASE_DB="test_db"
TEST_DATABASE_HOSTNAME=localhost
TEST_DATABASE_USER=test
TEST_DATABASE_PASSWORD=ywRCUjJijmQoBmWxIfLldOoITPzajPSNvTvHyugQoSqGwNcvQE
TEST_DATABASE_PORT=37270
TEST_DATABASE_DB=test_db

FIRST_SUPERUSER_EMAIL="[email protected]"
FIRST_SUPERUSER_PASSWORD="OdLknKQJMUwuhpAVHvRC"
FIRST_SUPERUSER_EMAIL=[email protected]
FIRST_SUPERUSER_PASSWORD=OdLknKQJMUwuhpAVHvRC
34 changes: 17 additions & 17 deletions {{cookiecutter.project_name}}/template_minimal/.env.template
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
SECRET_KEY="{{ random_ascii_string(50) }}"
ENVIRONMENT="DEV"
ACCESS_TOKEN_EXPIRE_MINUTES="11520"
REFRESH_TOKEN_EXPIRE_MINUTES="40320"
BACKEND_CORS_ORIGINS="http://localhost:3000,http://localhost:8001"
SECRET_KEY={{ random_ascii_string(50) }}
ENVIRONMENT=DEV
ACCESS_TOKEN_EXPIRE_MINUTES=11520
REFRESH_TOKEN_EXPIRE_MINUTES=40320
BACKEND_CORS_ORIGINS=http://localhost:3000,http://localhost:8001

DEFAULT_DATABASE_HOSTNAME="localhost"
DEFAULT_DATABASE_USER="{{ random_ascii_string(10) }}"
DEFAULT_DATABASE_PASSWORD="{{ random_ascii_string(50) }}"
DEFAULT_DATABASE_PORT="{{ range(4000, 7000) | random }}"
DEFAULT_DATABASE_DB="default_db"
DEFAULT_DATABASE_HOSTNAME=localhost
DEFAULT_DATABASE_USER={{ random_ascii_string(10) }}
DEFAULT_DATABASE_PASSWORD={{ random_ascii_string(50) }}
DEFAULT_DATABASE_PORT={{ range(4000, 7000) | random }}
DEFAULT_DATABASE_DB=default_db

TEST_DATABASE_HOSTNAME="localhost"
TEST_DATABASE_USER="test"
TEST_DATABASE_PASSWORD="{{ random_ascii_string(50) }}"
TEST_DATABASE_PORT="{{ range(30000, 40000) | random }}"
TEST_DATABASE_DB="test_db"
TEST_DATABASE_HOSTNAME=localhost
TEST_DATABASE_USER=test
TEST_DATABASE_PASSWORD={{ random_ascii_string(50) }}
TEST_DATABASE_PORT={{ range(30000, 40000) | random }}
TEST_DATABASE_DB=test_db

FIRST_SUPERUSER_EMAIL="[email protected]"
FIRST_SUPERUSER_PASSWORD="{{ random_ascii_string(20) }}"
[email protected]
FIRST_SUPERUSER_PASSWORD={{ random_ascii_string(20) }}

0 comments on commit 61be915

Please sign in to comment.