Performance without compromising productivity.
Beacon is a content management system (CMS) built with Phoenix LiveView. It brings the rendering speed benefits of Phoenix to even the most content-heavy pages with faster render times to boost SEO performance.
Check out the guides to get started:
- Installation to get your first site up and running
- API to enable the Beacon API
- Deployment on Fly.io to deploy your site on Fly.io
A sample application running latest Beacon is available at https://github.com/BeaconCMS/beacon_demo
Pre-release version. You can expect incomplete features and breaking changes before a stable v0.1.0 is released.
Main components:
- Core - A functional website can be built and deployed by inserting components in database and running a server, see https://github.com/BeaconCMS/beacon_demo
- Admin - LiveView UI to manage layouts, pages, and all other resources. See https://github.com/BeaconCMS/beacon_live_admin
- Page Builder - An easy to use, drag & drop UI for building pages, targeted to non-technical users. Not released yet, in the initial stages of development.
The file dev.exs
is a self-contained Phoenix application running Beacon with sample data and code reloading enabled. Follow these steps to get a site up and running:
- Install dependencies, build assets, and run database setup:
mix setup
If deps compilation fails, make sure your environment has the compilers installed.
On Ubuntu look for the build_essential
package, on macOS install utilities with xcode-select --install
- Execute the dev script:
iex --sname core -S mix dev
Note that running a named node isn't required unless you're running Beacon LiveAdmin too.
Finally, visit any of the routes defined in dev.exs
as http://localhost:4001/dev/home
or request resources from the API as http://localhost:4001/api/pages