Skip to content

MayraVillarrubia/weather-forecast

Repository files navigation

Weather Image

Project Description

This project has as purpose to allow you to send messages with the weather forecast to your cellphone daily. The technologies that we are going to use are:

  • Twilio, for to send messages
  • AWS EC2, for deployment
  • python

Prerequisites

How to run the project

To run locally

  1. Clone this repo
  2. Rename twilio_config_TEMPLATE.py file to twilio_config.py and complete with your data.

To run in AWS EC2

  1. Enter EC2 Instance and run the following commands:
   $ sudo apt update && sudo apt upgrade
   $ sudo apt install -y python3-pip
   $ git clone your-repo
   $ pip3 install -r requirements.txt 
  1. Rename twilio_config_TEMPLATE.py file to twilio_config.py and complete with your data.

How to use

Locally

  • Run the script send_message.py

In AWS EC2

  • You can create a cronjob to automatically run the script daily.

About

Sending messages with the weather forecast of the day

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages