Website
This is all the code for the website (deadvey.com)
Node
The nodejs code that is executed in the background is in /node
You can execute the node code in crontab (crontab -e
)
eg:
* * * * * node /var/www/html/node/makeblogs.js
* * * * * node /var/www/html/node/newsletter.js
* * * * * node /var/www/html/node/updatefeed.js
etc...
Newsletter
If you want to add members to the newsletter, I store a file as /etc/newsletter_members.js:
```js let members = ["member1@gmail.com","member2@outlook.com"]
if (typeof module !== 'undefined' && module.exports) { module.exports = members; }
Description
Languages
HTML
73.2%
JavaScript
16.7%
Roff
5.8%
Hack
2.8%
PHP
0.9%
Other
0.6%