View Code? Open in Web Editor
NEW
This project forked from jiemichong/notifications
Shell 41.20%
Python 57.45%
Dockerfile 1.35%
notifications_wfc4's Introduction
Running locally
- Set up MAMP Server on Mac or WAMP Server if on Windows.
- Create a connection in Mysqlworkbench with host as localhost, port 3306, user root and password root.
- Execute notification.sql or merged_sql.sql
- Run docker compose up -d --build from notifications folder
- Head to notification_notification container to see the logs
- send a notification using the python manually_send_message.py in utils. Make sure to have the modules installed locally or in a virtual environment.
- To tear down, use docker compose down.
Run tests
- Run docker compose -f ci/docker-compose.test.yml up -d --build
- Head to ci/ci_run_tests_1 container to view the results of the test.
- To tear down, use docker compose -f ci/docker-compose.test.yml down
notifications_wfc4's People
Contributors