Website Setup
Wanted a website to publish stuff and experiment.
Goals:
- Simple
- Javascript focused
- Can experiment with multiple technologies and frameworks
- Something I can grow
- Develop almost anywhere, including iPad
Landed on:
- DigitalOcean - Development environment and maybe for running experiments.
- Eleventy - Static site generator that sounded cool.
- Netifly - Static site web host.
Initial Setup #
- Created a DigitalOcean account and created a Node.js Quick Start Droplet.
- Configured my iPad to work with the Droplet. I use Code Editor and Prompt by Panic.
- Messed around with Eleventy tutorials.
- Started with Eleventy Base Blog and the Netifly builder for it.
- Cloned my new github repository of the base blog.
- Setup Netifly to handle DNS of the domain name I bought last month.
Site Development #
- Edit all files through SFTP connection through Code Editor
- Use the Code Editor terminal to run the serve command, which runs Eleventy on any saved changes and serves a test version of the site.
npx @11ty/eleventy --serve
- Publish using git push
git push origin master
Notes #
- Save github password:
git config --global credential.helper cache