You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,32 @@ python setup.py
59
59
60
60
This will start the application with the default configuration. The frontend will be available at http://localhost:3000 and the backend at http://localhost:5007.
61
61
62
+
## Setting Up Twilio for SMS Alerts
63
+
64
+
nanoCAS supports sending SMS alerts using Twilio when a sequence of interest meets the specified coverage threshold. Since nanoCAS is open-source, you’ll need to set up your own Twilio account and configure it yourself. Follow these steps to enable SMS notifications:
65
+
66
+
### 1. Create a Twilio Account
67
+
- Visit [Twilio's website](https://www.twilio.com/try-twilio) and sign up for a free account.
68
+
- Complete the verification process by providing your email and phone number.
69
+
70
+
### 2. Obtain a Twilio Phone Number
71
+
- Log in to your Twilio Console at [https://console.twilio.com/](https://console.twilio.com/).
72
+
- Navigate to the **"Phone Numbers"** section under **"All Products & Services"**.
73
+
- Click **"Buy a Number"**, search for a number that supports SMS (check the capabilities), and purchase it.
74
+
- Note down your Twilio phone number (e.g., `+12345678901`).
75
+
76
+
### 3. Get Your Account SID and Auth Token
77
+
- In the Twilio Console dashboard, locate your **"Account SID"** and **"Auth Token"** under the **"Account Info"** section.
78
+
- These credentials are required to authenticate API requests. Keep them secure.
79
+
80
+
### 4. Configure the `.env` File
81
+
- In the root directory of your nanoCAS project, create or edit the `.env` file to include the following Twilio configuration:
82
+
```plaintext
83
+
TWILIO_ACCOUNT_SID=your_account_sid
84
+
TWILIO_AUTH_TOKEN=your_auth_token
85
+
TWILIO_PHONE_NUMBER=your_twilio_phone_number
86
+
ALERT_RECIPIENT_PHONE=recipient_phone_number
87
+
62
88
### Manual Installation
63
89
64
90
For environments where Docker is not available or for development purposes:
0 commit comments