This repository contains a bare-bones skeleton application for the Hologram web framework, built on top of Phoenix. It provides a minimal starting point for:
- Experimenting with Hologram
- Reproducing issues for bug reports
- Learning the basics of Hologram development
- Creating new Hologram applications
To start your Hologram application:
-
Clone this repository
git clone https://github.com/bartblast/hologram_skeleton.git cd hologram_skeleton
-
Install dependencies
mix setup
-
Start the Phoenix server
mix phx.server
Now you can visit localhost:4000
from your browser to see the Hologram application running.
Hologram follows a convention of placing page and component files in the app
directory. However, you can place your files in any directory that is compiled by the Elixir compiler, such as the lib
directory.
To enable database functionality, uncomment the HologramSkeleton.Repo
line in lib/hologram_skeleton/application.ex
:
children = [
HologramSkeletonWeb.Telemetry,
HologramSkeleton.Repo, # Uncomment this line
# ...
]
Visit the official Hologram website at https://hologram.page for comprehensive documentation and guides.
This project is licensed under the same license as Hologram itself.