-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Makefile in lieu of docker-compose.yml * Makefile and poetry * Update README.md with Make commands * entrypoint.sh * returns Slack user, channel and test of message for message_hello * rename message_counts inside increase_counter for clarity * Updating pydantic (1.10.8 -> 1.10.9) * Updating urllib3 (2.0.2 -> 2.0.3) * add event handler back so random text doesn't crash it * path to csv is from poetry root (scm-poetry) * pycharm settings * use pandas EmptyDataError * use message_counts_df instead of message_counts increase_counter function * UI cleanup --------- Co-authored-by: John Dutchover <[email protected]>
- Loading branch information
1 parent
7a40848
commit 73b76d2
Showing
19 changed files
with
3,221 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 5 additions & 8 deletions
13
.idea/runConfigurations/streamlit.xml → .idea/runConfigurations/slackbolt_app.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Define dependencies | ||
DEPENDENCY_1 = scm-poetry/frontend | ||
DEPENDENCY_2 = scm-poetry/backend | ||
|
||
# Build the dependencies | ||
$(DEPENDENCY_1): | ||
# Build command for dependency 1 | ||
docker build -t frontend scm-poetry/frontend | ||
|
||
$(DEPENDENCY_2): | ||
# Build command for dependency 2 | ||
docker build -t backend scm-poetry/backend | ||
|
||
# Build the application | ||
build: $(DEPENDENCY_1) $(DEPENDENCY_2) | ||
# Build command for the main application | ||
docker build -t frontend scm-poetry/frontend | ||
docker build -t backend scm-poetry/backend | ||
|
||
# Run the application | ||
run: | ||
docker run --name frontend -d -p 8501:8501 frontend:frontend | ||
docker run --name backend -d backend:backend | ||
# docker run --name backend -d -p 3000:3000 backend:backend | ||
# Add more lines for additional subdirectories if needed | ||
|
||
# Stop the application | ||
stop: | ||
docker stop frontend | ||
docker stop backend | ||
# Add more lines for additional subdirectories if needed | ||
|
||
# Clean up Docker artifacts | ||
clean: | ||
docker system prune -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
# short-circuit-me | ||
|
||
## A _Notification_ API for Slack | ||
## Notification broker for Slack | ||
|
||
### api.slack.com | ||
### Makefile | ||
- Build containers | ||
- `make build` | ||
|
||
#### Bolt for Python | ||
- Run containers | ||
- `make run` | ||
|
||
- Stop containers | ||
- `make stop` | ||
|
||
- Cleanup images | ||
- `make clean` | ||
|
||
#### api.slack.com | ||
|
||
##### Bolt for Python | ||
|
||
[Package slack_bolt](https://slack.dev/bolt-python/api-docs/slack_bolt/) | ||
|
||
Package slack_bolt | ||
<https://slack.dev/bolt-python/api-docs/slack_bolt/> | ||
|
||
[![Pylint](https://github.com/johndutchover/short-circuit-me/actions/workflows/pylint.yml/badge.svg)](https://github.com/johndutchover/short-circuit-me/actions/workflows/pylint.yml) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.