StevonStevoff / ProjectParsnip

A IoT Project for Managing At-Home Smart Farming
3 stars 0 forks source link

Add Secrets to env/github secrets #65

Closed StevonStevoff closed 1 year ago

StevonStevoff commented 1 year ago

Added settings.py to handle environment variables which will be loaded either from a .env file on your local system in the backend directory, or from github secrets when running from github actions.

StevonStevoff commented 1 year ago

Was just doing similar things for sending verification emails, looks good I'll update it to using the settings variable. Something funky happening to the tests though.

Ok sick :) As you can probs see from the failing build I don't have the github actions using the secrets quite right yet but trying something now which will hopefully fix - have a look at the changes to the workflow files once I do have it working.