Skip to content

crab85193/Tely

Repository files navigation

Tely

Docker Python Django Nginx Twilio Sentry Deploy License: Apache 2.0

logo

日本語版はREADMEはこちら

Description

Repository of the proxy telephone reservation service Tely, which is produced by enPiT of the Intelligent Information Course, Department of Engineering, Faculty of Engineering, University of the Ryukyus. Google Place API is used to obtain store information and Twilio is used to make outbound calls.

Requirement

  • Ubuntu22.04
  • Docker 24.0.5
  • Python 3.11.0
  • Django 4.2.7
  • Sentry-sdk 1.39.1
  • twilio 8.10.0
  • Google Place API

Usage

Before starting Tely, you need to register to use Google Place API, create an account on Twilio, create an account on Sentry, create an account on [Outlook](https://www.microsoft.com/en/microsoft-365/ outlook/email-and-calendar-software-microsoft-outlook?deeplink=%2Fowa%2F&sdf=0).

After completing the above preliminary preparations, create .env.dev and write the following contents.

MYSQL_ROOT_PASSWORD={ROOT PASSWORD}
MYSQL_DATABASE={DATABASE NAME}
MYSQL_USER={USER NAME}
MYSQL_PASSWORD={USER PASSWORD}
MYSQL_HOST={HOST}
MYSQL_PORT={PORT}

SECRET_KEY=django
ALLOWED_HOSTS="*"

CSRF_TRUSTED_ORIGINS="localhost"

DEBUG=True

EMAIL_HOST="smtp-mail.outlook.com"
EMAIL_PORT=587
DEFAULT_FROM_EMAIL={OUTLOOK MAIL ADDRESS}
EMAIL_HOST_USER={OUTLOOK MAIL ADDRESS}
EMAIL_HOST_PASSWORD={OUTLOOK MAIL PASSWORD}

TWILIO_ACCOUNT_SID={TWILIO ACCOUNT SID}
TWILIO_AUTH_TOKEN={TWILIO AUTH TOKEN}
FROM_PHONE_NUMBER={FROM PHONE NUMBER}

GOOGLE_API_KEY={KEY VALUE}

SENTRY_DNS={SENTRY DNS ADDRESS}

After creating .env.dev, run the following command to start Tely.

$ docker-compose -f docker-compose.dev.yml up -d --build

Reference

License

Copyright © 2023 Team Quartetto Inc.

This software is released under the Apache 2.0 License, see LICENSE.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •