diegovalle / hoyodesmog

Website for https://hoyodesmog.diegovalle.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Website for https://hoyodesmog.diegovalle.net

License:MIT License


Languages

Language:HTML 42.2%Language:CSS 27.6%Language:JavaScript 16.3%Language:SCSS 9.0%Language:R 3.7%Language:Shell 0.8%Language:Dockerfile 0.4%