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

added basic logging and updated environment variables #37

Merged
merged 1 commit into from
May 8, 2024

Conversation

daniel-gray-tangent
Copy link
Contributor

No description provided.

Copy link
Contributor

@friedelwolff friedelwolff left a comment

Choose a reason for hiding this comment

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

I didn't quite get a meaningful debugging experience on my side, but maybe I'm expecting something very different.

While we're reviewing things, please review trailing and double spaces in README.md as well.

app/app/settings.py Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
.env.example Show resolved Hide resolved
README.md Outdated

Add the following folders to the Docker container:
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is Docker, let's use Docker terminology. Maybe something like "Mount volumes at the following locations:" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This can be added to the prod docker-compose file

README.md Outdated Show resolved Hide resolved
app/app/settings.py Outdated Show resolved Hide resolved
@daniel-gray-tangent daniel-gray-tangent force-pushed the feature/logging branch 2 times, most recently from 729f314 to 916e7fb Compare April 29, 2024 08:55
.env.example Outdated Show resolved Hide resolved
.env.example Outdated
DB_NAME=term_db
DB_USER=sadilar
DB_PASSWORD=sadilar
LOGGING_FILE=logs/debug.log
Copy link
Contributor

Choose a reason for hiding this comment

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

Different default than the one in the code, in case you want to make that consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is addressed and fixed in current merge of code

README.md Outdated
@@ -24,8 +24,16 @@ About the project:
3. Run `make run` to run the docker container
4. Run `make stop` to stop the docker container

## Production
Copy link
Contributor

Choose a reason for hiding this comment

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

please review trailing spaces.

app/app/settings.py Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
- added github actions testing
- updated enviroment variables in settings
- added tests for logging files
- updated setting to check for testing
@daniel-gray-tangent daniel-gray-tangent merged commit 04fa341 into develop May 8, 2024
2 checks passed
@daniel-gray-tangent daniel-gray-tangent deleted the feature/logging branch May 9, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants