https://github.com/beaconcms/beacon_demo
Sample application running Beacon, a open-source content management system (CMS) built with Phoenix LiveView.
https://github.com/beaconcms/beacon_demo
cms elixir elixir-lang phoenix phoenix-framework phoenix-liveview
Last synced: 4 months ago
JSON representation
Sample application running Beacon, a open-source content management system (CMS) built with Phoenix LiveView.
- Host: GitHub
- URL: https://github.com/beaconcms/beacon_demo
- Owner: BeaconCMS
- License: mit
- Created: 2022-12-15T22:02:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T16:25:11.000Z (10 months ago)
- Last Synced: 2025-08-17T13:26:44.255Z (5 months ago)
- Topics: cms, elixir, elixir-lang, phoenix, phoenix-framework, phoenix-liveview
- Language: JavaScript
- Homepage: https://beaconcms.org
- Size: 663 KB
- Stars: 58
- Watchers: 6
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# BeaconCMS Demo
Sample application to showcase [beacon](https://github.com/BeaconCMS/beacon) features. Follow the readme to get started:
## Local
#### Adjust database connection
In `config/dev.exs` adjust the following repo config to fit your local environment:
```elixir
config :beacon_demo, BeaconDemo.Repo, ...
```
#### Setup
Run setup to install dependencies and setup initial data:
```sh
mix setup
```
#### Run server
```sh
mix phx.server
```
#### Change seeds data (optional)
Layouts and pages are defined in `priv/repo/seeds/beacon.exs`. That data will be seeded on `mix setup` and you can manage it using the admin interface,
but feel free to edit as you wish and run `mix ecto.reset` to drop the database and recreate all data.
### Demo
Visit some sample pages:
* http://localhost:4000 to see an example of a landing page.
* http://localhost:4000/blog to visit the blog index.
* http://localhost:4000/admin to manage your demo site.
## Exploring
Checkout the [Beacon docs](https://hexdocs.pm/beacon) for more info.