Skip to content
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

Configure App Environments #27

Closed
mackcooper1408 opened this issue Sep 14, 2024 · 1 comment
Closed

Configure App Environments #27

mackcooper1408 opened this issue Sep 14, 2024 · 1 comment

Comments

@mackcooper1408
Copy link
Collaborator

There's not much to add here until these issues (#22 and #23 are done)

Context

In order to deploy our application and work with containerization tools like Docker, we'll need some extra configuration to use certain Environment variables. The easiest option for making this work is via a secret .env file that will not be checked into git version history.

Definition of Done

  1. environment configuration is complete for front and back end with the app now pulling key variables like "Environment", "Database URL", etc. from an "ENV" file (.env)
  2. env configuration has appropriate defaults for working with the app in development
  3. .gitignore is updated to not check the env file into git history
  4. README is updated with details on how this config is setup and what variables may be useful (if any at this point) to add to your local .env

Engineering Details

  • see this doc for details on completing the setup in FastAPI.
    • Also, take a look at how the configuration is done in this template app
  • it appears NEXT has native support for .env files... so yay!
@agennadi
Copy link
Collaborator

agennadi commented Nov 1, 2024

Done

@agennadi agennadi closed this as completed Nov 1, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in QuakeSafe Project Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants