Great that the domain is working! Now let’s set up your Jekyll blog using Docker on your Ubuntu VM. This will let you develop and preview your blog locally before pushing changes to GitHub.
Here’s what to do next:
- Create your blog directory structure:
```bash
On your Ubuntu VM
mkdir -p ~/cloudcommand-blog cd ~/cloudcommand-blog
Clone your existing GitHub repo
git clone https://github.com/aollivierre/aollivierre.github.io.git .
2. Copy all the files from the artifact above into your directory structure:
```bash
# Create directories
mkdir -p _posts _layouts _includes _sass assets
# Create the files (copy content from artifact)
# Dockerfile, docker-compose.yml, Gemfile, _config.yml, .gitignore
- Build and start the Jekyll container:
docker-compose up --build
- Your blog will be available at:
- Local development: http://your-vm-ip:4000
- Production: https://cloudcommand.org
- Create your first blog post:
# Create a new post in _posts directory touch _posts/2024-01-18-welcome-to-cloud-command.md # Add the content from the example post in the artifact
- Commit and push your changes:
git add . git commit -m "Set up Jekyll blog" git push origin main
Would you like me to:
- Explain how to create and customize blog posts?
- Show how to add different types of content (images, code blocks, etc.)?
- Help with setting up a different theme?
- Add specific blog features you’re interested in?