Add Docker support and Missing rc file error handling #3
+176
−19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @andrewscwei, thanks for creating this statement parser! It's just what I was looking for today for my own purposes.
I ran into a few small issues while setting up the repo, so I've created this Pull Request to make it a bit easier to setup the project on new machines.
Fixes:
.rc
does not exist in the repo, the following error message is displayed:I've added some error handling to
main.py
to use a simple default config if no.rc
file is providedI've added a Dockerfile to be able to build and run the parser without needing to modify a user's system
Updated the Readme to clarify the install process on a new machine
Thank you once again for creating this project!