Kriztoper / beacon_demo

Sample application running Beacon, a open-source content management system (CMS) built with Phoenix LiveView.

Home Page:https://beaconcms.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BeaconCMS Demo

Sample application to showcase beacon features. Follow the readme to get started:

Run a database

Postgres is configured by default but you may change the adapter in lib/beacon_demo/repo.ex.

Adjust database connection

In config/dev.exs adjust the following repo config to fit your local environment:

config :beacon_demo, BeaconDemo.Repo, ...

config :beacon, Beacon.Repo, ...

Install dependencies

  1. Install cmark-gfm which is used to convert Markdown templates. This dependency will be replaced eventually.

  2. Beacon depends on C libraries. 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.

Change seeds data (optional)

Layouts and pages are defined in priv/repo/beacon_seeds.exs. Feel free to change it but remember to reset the database: mix ecto.reset

Setup

Run:

mix setup

Run server

mix phx.server

Demo

Visit some sample pages:

Exploring

Checkout the Beacon guides for more.

About

Sample application running Beacon, a open-source content management system (CMS) built with Phoenix LiveView.

https://beaconcms.org

License:MIT License


Languages

Language:Elixir 86.9%Language:HTML 6.5%Language:Dockerfile 3.1%Language:JavaScript 2.9%Language:Shell 0.3%Language:Batchfile 0.2%Language:CSS 0.2%