Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 991 Bytes

File metadata and controls

45 lines (31 loc) · 991 Bytes

holbie_textme

Holberton School Hack Day Project to use intranet's API & receive an email or text (SMS) when the checker is out for your current projects

setup

install python 3.7

mac:

brew install python

linux (ubuntu):

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.7

use venv, a virtual environment to install dependencies

This, and the rest, should be done in the folder you cloned this repo into ( /foo/bar/holbie_textme )

pip3 install --upgrade pip
pip3 install virtenv
pip3 venv venv       # creates a venv folder in your current directory
source venv/bin/activate      # activates this virtual environment
pip3 install -r requirements.txt

Get our secret environment variables from Slack

put them in a file called gcreds.json

export GOOGLE_APPLICATION_CREDENTIALS="$PWD/gcreds.json"

develop away