Build a prototype that sends families and mentors their lifemaps.
git clone [email protected]:FundacionParaguaya/send-lifemap.git
cd send-lifemap
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Install pipenv: https://pipenv.readthedocs.io/en/latest/
git clone [email protected]:FundacionParaguaya/send-lifemap.git
cd send-lifemap
pipenv install
pipenv shell
-
Create a
secrets.py
file (follow the example insecrets.py.example
).- The credentials can be found at https://www.twilio.com/console.
-
wkhtmltopdf:
- Ubuntu:
sudo apt install wkhtmltopdf
- Win/Mac: https://wkhtmltopdf.org/downloads.html
- Ubuntu:
import pdfkit
pdfkit.from_url("https://www.povertystoplight.org/en/faq", "faq.pdf")
pdfkit.from_file("algo.html", "algo.pdf")