No description
  • Handlebars 98.2%
  • Dockerfile 1.8%
Find a file
Djordje Lukic 05fe7b93ac
Add running instructions in the README
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2023-03-01 14:06:37 +01:00
config Initial commit 2023-02-28 17:26:26 +01:00
content Add a Dockerfile 2023-02-28 18:03:31 +01:00
modules Initial commit 2023-02-28 17:26:26 +01:00
scripts Initial commit 2023-02-28 17:26:26 +01:00
shortcodes Initial commit 2023-02-28 17:26:26 +01:00
templates Initial commit 2023-02-28 17:26:26 +01:00
.gitignore Initial commit 2023-02-28 17:26:26 +01:00
Dockerfile Add a Dockerfile 2023-02-28 18:03:31 +01:00
LICENSE.txt Initial commit 2023-02-28 17:26:26 +01:00
README.md Add running instructions in the README 2023-03-01 14:06:37 +01:00
spin.toml Add a Dockerfile 2023-02-28 18:03:31 +01:00

Bartholomew Site Running in Docker

This repository showcases how to run the Bartholomew micro-cms for Webassembly using Docker.

Directory Structure:

  • config/site.toml: The main configuration file for your site. You should edit this.
  • content/: Your markdown files go in here.
  • scripts/ (advanced): If you want to write your owh Rhai scripts, they go here.
  • spin.toml: The configuration file for the Spin application.
  • static/: Static assets like images, CSS, and downloads go in here.
  • templates/: Your handlebars templates go here.
  • shortcodes/: Your shortcodes go here.

Running

First build the application:

$ docker build -t my-cms .

You can then run it with

$ docker run --runtime=io.containerd.spin.v1 -p 3000:80 my-cms

Now you can point your web browser to http://localhost:3000/ and see your new Bartholomew site.

About the License

This repository uses CC0. To the greatest extent possible, you are free to use this content however you want. You may relicense the code in this repository to your own satisfaction, including proprietary licenses.