5 ms·
Here's something I created for my personal projects. It's an Ansible playbook that gets just a domain and a Node.js project repository and creates a DigitalOcea
by kostarelo 10y ago
Here's something I created for my personal projects. It's an Ansible playbook that gets just a domain and a Node.js project repository and creates a DigitalOcean droplet with LetsEncrypt certificate included. It needs a bit tweaking from your side but it's a great starting point to go from zero to an online project. It doesn't contain a database setup step but we can include it in a later release if you think it will be suitable for your needs.
https://github.com/kbariotis/ansible-nodejs-digitalocean https://github.com/kbariotis/ansible-nodejs-digitalocean
I also published a guide today and the reasons behind this projects.
https://kostasbariotis.com/deploying-nodejs-applications-digitalocean-ansible https://kostasbariotis.com/deploying-nodejs-applications-dig...
- jayair 10y agoThanks for sharing! This is the type of thing I was hoping to see and get some ideas from. There are a lot of little details (like the SSL setup) that makes it a bit tricky every time I'm creating a new project. And my scripts tend to go out of date once in a while.