|
|
@@ -3,6 +3,10 @@ Se instalar ```virtualenv```
|
|
|
|
|
|
```pip install virtualenv```
|
|
|
|
|
|
+Crear un vitual environment
|
|
|
+
|
|
|
+```virtualenv venv```
|
|
|
+
|
|
|
Activar el virtual environment
|
|
|
|
|
|
```source ./venv/bin/activate```
|
|
|
@@ -14,3 +18,13 @@ o si se instala en Windodws
|
|
|
Instalar dependencias
|
|
|
|
|
|
```pip -r requirements.txt```
|
|
|
+
|
|
|
+Se debe de crear un archivo ```.env``` en el cual se deben especificar las siguientes variables:
|
|
|
+
|
|
|
+```
|
|
|
+MONGODB_HOST=mongodb://<user>:<password>@<host>:<puerto>/
|
|
|
+SG_API_KEY=<SendGrid API Key>
|
|
|
+SG_API_URL=https://api.sendgrid.com/v3/mail/send
|
|
|
+SG_TEMPLATE_ID=<SendGrid Template ID>
|
|
|
+FILE_BASE_PATH=<Path en donde se guardaran los archivos CSV>
|
|
|
+```
|