Skip to content

Commit 539432e

Browse files
committed
Updated a few things so I can test locally.
1 parent e6b081e commit 539432e

5 files changed

Lines changed: 64 additions & 56 deletions

File tree

.travis.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM ruby:2.3.3
2+
3+
# Set environment variables
4+
ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=true
5+
6+
# Set working directory
7+
WORKDIR /site
8+
9+
# Copy Gemfile first for better layer caching
10+
COPY Gemfile* ./
11+
12+
# Install dependencies
13+
RUN bundle install
14+
15+
# Copy the rest of the site
16+
COPY . .
17+
18+
# Expose port for serving
19+
EXPOSE 4000
20+
21+
# Default command - build and serve
22+
CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0"]

Makefile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.PHONY: build-docker build serve dev test clean
2+
3+
# Build the Docker image
4+
build-docker:
5+
docker build -t jekyll-site .
6+
7+
# Run jekyll build to generate _site
8+
build: build-docker
9+
docker run --rm jekyll-site bundle exec jekyll build
10+
11+
# Run the container to serve the site locally with nginx
12+
serve: build
13+
docker run --rm -p 8888:80 -v $$(pwd)/_site:/usr/share/nginx/html:ro nginx:alpine
14+
15+
# Run with live reloading (mount local directory)
16+
dev: build-docker
17+
docker run --rm -p 4000:4000 -v $$(pwd):/site jekyll-site bundle exec jekyll serve --host 0.0.0.0 --force_polling
18+
19+
# Test the build (matches CI)
20+
test: build
21+
@echo "Site build successful!"
22+
23+
# Clean up Docker images
24+
clean:
25+
docker rmi jekyll-site || true

_config.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/je
1717

1818
# Blogroll
1919
blogroll:
20-
-
21-
name: BTMash's blob of contradictions
20+
- name: BTMash's blob of contradictions
2221
url: http://btmash.com
23-
-
24-
name: LA Grafitti
22+
- name: LA Grafitti
2523
url: https://lagraffiti.wordpress.com/
26-
-
27-
name: Justin Biard's icodealot
24+
- name: Justin Biard's icodealot
2825
url: http://icodealot.com/
2926

3027
# Includes an icon in the footer for each username you enter
@@ -74,13 +71,18 @@ sass:
7471
style: :expanded # You might prefer to minify using :compressed
7572

7673
# Use the following plug-ins
77-
gems:
74+
plugins:
7875
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
7976

8077
# Exclude these files from your production _site
8178
exclude:
82-
- Gemfile
83-
- Gemfile.lock
84-
- LICENSE
85-
- README.md
86-
- node_modules
79+
- Dockerfile
80+
- Makefile
81+
- backstop.json
82+
- Gruntfile.js
83+
- gulpfile.js
84+
- Gemfile
85+
- Gemfile.lock
86+
- LICENSE
87+
- README.md
88+
- node_modules

_posts/2026-01-05-getting-xdebug-working-with-zed-starring-cloude.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The main problem is me. I mostly work in PHP and Zed sucks at PHP. One thing tha
2828

2929
I started out asking about AI enabled IDEs. I wasn't originally planning on asking about Xdebug.
3030

31-
**User:** What is the best AI enabled IDE for PHP
31+
> **User:** What is the best AI enabled IDE for PHP
3232
3333
> **Assistant:** For PHP development with AI assistance, here are the strongest options:
3434
@@ -48,7 +48,7 @@ I started out asking about AI enabled IDEs. I wasn't originally planning on aski
4848

4949
The initial response didn't even have Zed in the running.
5050

51-
**User:** Why don't you recommend zed
51+
> **User:** Why don't you recommend zed
5252
5353
> **Assistant:** You're right to bring up Zed! I should have mentioned it - it's a legitimate option, especially since it has built-in AI features and is gaining momentum.
5454
@@ -77,7 +77,7 @@ This made me think about why I don't use Zed so much for PHP. I use Drupal for m
7777

7878
I have tried VSCode but it has similar issues with Xdebug as Zed and it isn't all that much faster. My primary problem with PhpStorm is the speed, but the latest version also integrates AI and I will just come out and say it. The PhpStorm AI sucks. 90% of the time is is auto completing things I don't want. When it gets it right, it can be like magic. But having to repair 90% of auto completed code is really annoying. I have had better results with Zed.
7979

80-
**User:** how do I integrate zed with XDebug?
80+
> **User:** how do I integrate zed with XDebug?
8181
8282
> **Assistant:** Great news - Zed actually has built-in Xdebug support through its PHP extension! Here's how to set it up:
8383

0 commit comments

Comments
 (0)