Infuse
Simple filesystem web framework using Simplates. Inspired by Aspen. Using Plug
It is currently not ready for use in development or production.
Possible Installation
You can use Hex, to install the package:
- Add
infuseto your list of dependencies inmix.exs:
```elixir
def deps do
[{:infuse, "~> 0.1.0"}]
end
```
- Ensure
infuseis started before your application:
```elixir
def application do
[applications: [:infuse]]
end
```
- Figure out what's next, because I have no idea!
Application Config
config :infuse,
web_root: "example-www",
default_content_type: "text/html",
default_renderer: Infuse.Simplates.Renderers.EExRenderer,
start_server: true,
start_observer: false
config :infuse, Infuse.HTTP.RequestHandler,
default_indicies: ['index.html', 'index.json', 'index',
'index.html.spt', 'index.json.spt', 'index.spt']
Docker for Development
docker build -t infuse .
docker run -p 8101:8101 infuse
Credits & License
Entire inspiration and design is from https://github.com/AspenWeb/aspen.py