Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.1 KB

README.md

File metadata and controls

25 lines (14 loc) · 1.1 KB

stub-embed-providers

Fair warning that nothing in this repository is considered SECURE nor STABLE enough for production use.

This repository aims at providing preconfigured embed providers for testing purposes. They aren't pretty, and they aren't complete.

Setup

Our Vanilla Docker project is pre-configured to work with this repository.

You will need a functioning Vanilla Docker setup with your main site exposed at dev.vanilla.localhost. The embedded versions of the site will then be available at

  • embed.vanilla.localhost
  • advanced-embed.vanilla.localhost
  • comments-embed.vanilla.localhost

Config settings

Additionally for the normal embed you will need to set the config setting Garden.Embed.Allow to true. For the Advanced embed you will need to set Garden.Embed.Allow to 2.

Customizing one of the embeds

Either of the embeds can be customized by adding copying the index.html in /advanced or /simple and renaming it.

For example /advanced/custom.html would be made available at advanced-embed.vanilla.localhost/custom.