May 14, 2018
These are the tools I'm currently using for web development:
- Computer: Toshiba Satellite C55. 4Gb of RAM. Intel Celeron N2830 dual core processor. It's a little underpowered, but it was cheap (~$250) and does the trick for now.
- Operating System: Ubuntu 16.04 LTS
- Responsive Framework: Custom CSS: minimal.css.
- Version Control: Github.
- Text Editor: Visual Studio Code.
- Hosting: Nginx virtual private server running on an Ubuntu 16.04 droplet at Digital Ocean (referral link).
- Email Client: Thunderbird with Enigmail (for encryption).
- SSL/TLS Certificate by Let's Encrypt, to serve this site through HTTPS.
The basic workflow I follow to update this site goes like this:
- Go to the folder in my computer where the files for this site are located:
- Write posts or page content in Markdown.
npm start. This converts the markdown files to HTML and saves them in the
- Git commit the changes by running the following commands from the
git add --alland
git commit -m "made some changes".
- Push the files to Github's remote repository:
git push origin master.
- Push the static files in the
/Hacks/mariosanchez.org/publicfolder to my Digital Ocean VPS by running
deploy.shis a custom bash script that syncs the contents of the
/Hacks/mariosanchez.org/publicfolder in my local computer with the
/var/www/mariosanchez.org/htmlfolder in my VPS.
/var/www/mariosanchez.org/htmlis the folder that Digital Ocean uses to serve this site to the open web.
- Open the browser, navigate to the site and check that everything looks OK. If something is off, fix it and go back to #3.