How to Run
- Install Devbox
- Run
devbox shellto install your packages and run the init hook - In the root directory, run
devbox run generateto install and package the project with bundler - In the root directory, run
devbox run serverto start the server. You can access the Jekyll example atlocalhost:4000
How to Recreate this Example
- Install Devbox
- In a new directory, run
devbox initto create an empty config - Run
devbox add ruby_3_1 bundlerto add Ruby and Bundler to your packages - Add
"gem install jekyll --version \"~> 3.9.2\""to your init hook. This will install the Jekyll gem in your local project. - Start your
devbox shell, then runjekyll new myblogto create the starter project. - From here you can install the project using Bundler, and start the server using
jekyll serve. See the scripts in this example for more details.