Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/diegovalle/hoyodesmog

Website for https://hoyodesmog.diegovalle.net
https://github.com/diegovalle/hoyodesmog

mexico-city

Last synced: about 1 month ago
JSON representation

Website for https://hoyodesmog.diegovalle.net

Awesome Lists containing this project

README

        

Master: [![Build Status](https://travis-ci.org/diegovalle/hoyodesmog.svg?branch=master)](https://travis-ci.org/diegovalle/hoyodesmog)
Develop: [![Build Status](https://travis-ci.org/diegovalle/hoyodesmog.svg?branch=develop)](https://travis-ci.org/diegovalle/hoyodesmog)
# HoyoDeSmog

Web site for [hoyodesmog.diegovalle.net](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):

```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](https://deadmanssnitch.com) 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.

```{sh}
* * * * * /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