Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bunya017 committed Apr 5, 2021
2 parents 600afb9 + 765c1cf commit 6c31f97
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ The input variables, with their default values (some auto generated) are:

After using this generator, your new project (the directory created) will contain an extensive `README.md` with instructions for development, deployment, etc. You can pre-read [the project `README.md` template here too](./{{cookiecutter.project_slug}}/README.md).

### :warning: :warning: :warning: IMPORTANT NOTE

Make sure to add `.env` to your `.gitignore`.

## Won't Do

This project does not intend to support any other ORM apart from SQLAlchemy unless it works as smoothly with pydantic as SQLAlchemy does.
Expand Down
16 changes: 16 additions & 0 deletions {{cookiecutter.project_slug}}/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
DB_PORT={{cookiecutter.db_port}}
DB_USER={{cookiecutter.db_user}}
DB_NAME={{cookiecutter.db_name}}
DB_HOST={{cookiecutter.db_host}}
DB_ENGINE={{cookiecutter.db_engine}}
DB_PASSWORD={{cookiecutter.db_password}}
SECRET_KEY={{cookiecutter.secret_key}}
APP_TITLE={{cookiecutter.project_name}}
AUTH_TOKEN_EXPIRES=2880
PASSWORD_RESET_EXPIRES=1440
USE_LOCAL_DOCS_FILES=True
DOCS_URL=/docs
REDOC_URL=/redoc
OPENAPI_URL=/openapi.json
DOCS_AUTH_URL=auth/docs-token
CORS_ORIGINS=localhost:8080
2 changes: 0 additions & 2 deletions {{cookiecutter.project_slug}}/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ __pycache__
*.pyc

# Environments
.env
venv/

# Editors and IDE
Expand All @@ -12,7 +11,6 @@ venv/

# Mac-Stuff
.DS_Store
cloud_storage_key.json

# Own directories
emails/

0 comments on commit 6c31f97

Please sign in to comment.