Skip to content

Commit

Permalink
update DEVELOPMENT.md
Browse files Browse the repository at this point in the history
- bump version of ruby container to use
- simplify installation process
- formatting
  • Loading branch information
jacobwhall authored Jul 25, 2024
1 parent 85dbc1c commit eeab4fe
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
Running a development server locally using podman/python:

- make sure _config.yml has "http://localhost:8000" as the site URL
1. make sure `_config.yml` has "http://localhost:8000" as the site URL

in one terminal:
- podman run -it -v .:/mnt:Z docker.io/ruby:3.3.0-bookworm /bin/bash
- cd /mnt
- bundle install
- cd dogwood
- bundle install
- cd ..
- bundle exec jekyll build --watch
2. In one terminal:
- `podman run -it -v .:/mnt:Z docker.io/ruby:3.3.4-bookworm /bin/bash`
- `cd /mnt`
- `bundle install`
- `bundle exec jekyll build --watch`

in a new terminal while that's running
- cd to ~/Documents/maprva-site/_site
- python -m http.server
In a new terminal while that's running:
- `cd` to `/path/to/repo/_site`
- `python -m http.server`

0 comments on commit eeab4fe

Please sign in to comment.