-
Notifications
You must be signed in to change notification settings - Fork 95
Turns a folder into a website
License
davidmerfield/blot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Blot is a site generator. Blot turns a folder into a website. The point of all this — the reason Blot exists — is so you can use your favorite tools to create whatever you publish. Please don’t hesitate to contact me with any questions: [email protected] The general architecture of Blot is: The internet <> Reverse proxy (Openresty) <> Blot (express.js node application) <> Redis To get Blot running locally, you will need Docker. Once you have Docker installed and running, clone the repository: git clone https://github.com/davidmerfield/blot --depth 1 Create an empty `.env` file which you can use to further configure Blot with environment variables. touch .env Then start the server: npm start By default, the development scripts use Docker's BuildKit with Compose's Bake integration for faster builds. Make sure you have Docker Buildx and Docker Compose v2 installed. If you need to opt out, unset `COMPOSE_DOCKER_CLI_BUILD` or set it to `docker`, and set `DOCKER_BUILDKIT=0` before running the scripts. Before you begin working on the code, you'll need to open up the following URLs in your browser and add an exception for the self-signed SSL certificates which we've generated: https://localhost/ - The dashboard https://cdn.localhost/ - The CDN https://example.localhost/ - Your site You can edit the folder for the example blog inside the `data` directory: ./data/blogs/blog_$ID
About
Turns a folder into a website
Resources
License
Stars
Watchers
Forks
Releases
No releases published