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

Remove build errors due to missing log directory #59

Merged
merged 1 commit into from Nov 20, 2018

Conversation

fredlawl
Copy link
Contributor

d41e6f1 ("Merge pull request #43 from fredlawl/issue-42") addressed
an issue where there was need to have error logging in the project. A
bug was introduced such that the log directory did not exists when Django
operations are ran via ssh-ing into the container. This problem also exists
for people who perform operations without the Docker build process.

Fix this by adding in a logs directory into the project
root, and modify the Docker startup script to create the files/directories
before Django build processes runs.

Signed-off-by: Frederick Lawler fred@fredlawl.com

d41e6f1 ("Merge pull request codeforkansascity#43 from fredlawl/issue-42") addressed
an issue where there was need to have error logging in the project. A
bug was introduced such that the log directory did not exists when Django
operations are ran via ssh-ing into the container. This problem also exists
for people who perform operations without the Docker build process.

Fix this by adding in a logs directory into the project
root, and modify the Docker startup script to create the files/directories
before Django build processes runs.

Signed-off-by: Frederick Lawler <fred@fredlawl.com>
@nerdenator
Copy link
Collaborator

nerdenator commented Nov 20, 2018

+1

@@ -0,0 +1,2 @@
*
!.gitignore
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this .gitignore here instead of the main project directory? You can just include the logs/*?

@fredlawl fredlawl merged commit d7f5002 into codeforkansascity:master Nov 20, 2018
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.

None yet

3 participants