These instructions will help you set up and run the project on your local machine for development and testing purposes.
- Python (3.x recommended)
- pip (Python package installer)
- Virtualenv (optional but recommended)
- Twillio Account
-
Clone the repository to your local machine:
git clone https://github.com/your-username/MyPartnerisBusy.git
-
Navigate to the project directory:
cd mypartnerisbusy
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install project dependencies:
pip install -r requirements.txt
-
Apply database migrations:
python manage.py migrate
-
Create a superuser account (for admin access):
python manage.py createsuperuser
Start the development server:
python manage.py runserver
TWILIO_ACCOUNT_SID = 'YOUR TWILIO ACCOUNT SID' TWILIO_AUTH_TOKEN = 'YOUR TWILIO AUTH_TOKEN' TWILIO_PHONE_NUMBER = 'YOUR TWILLIO PHONE NUMBER'
status_callback='https://7264-103-212-158-183.ngrok-free.app/twilio_webhook/',