Skip to content

diegovalle/hoyodesmog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Master: Build Status Develop: Build Status

HoyoDeSmog

Web site for hoyodesmog.diegovalle.net

It is recommended to use the ansible playbook in the ansible directory to install. You'll need to create a secrets.yml (it's encrypted in this repo) file with the following structure (or just copy secrets-test.yml):

      # Structure of secrets.yml
      EMAIL_ADDRESS:
      SENDGRID_USER:
      SENDGRID_PASS:
      ## created with:
      ## mkpasswd --method=SHA-512
      DEPLOY_PASSWORD:
      ROOT_PASSWORD:
      NETLIFYAPIKEY:
      RUNALL_HEALTHCHECK_URL:
      HEALTH_CHECK_LETSENCRYPT_HOYODEMOSG:

The RUNALL_HEALTHCHECK_URL variable is for a deadmansnitch like service

To manually install, copy the files to /var/www/hoyodesmog.diegovalle.net, add the nginx.conf file to the sites-enabled directory under nginx, and add the following line to cron in a system with R already installed.

* * * * * /var/www/hoyodesmog.diegovalle.net/R/run-heatmap.sh >> /var/www/hoyodesmog.diegovalle.net/R/log-heatmap.txt 2>&1

If you have a sendgrid account you can set the EMAIL_ADDRESS, SENDGRID_USER and SENDGRID_PASS to have the program send you and email when 150 IMECAS are reached

#License

The template used by the website is not free software.

License: pixelarity.com/license

Every else is under an MIT License