Build meeting agendas for Sacrament meetings in the Church of Jesus Christ of Latter-day Saints.
This project uses Phoenix LiveView which is currently still in alpha. Use at your own risk. :)
Download dependencies with mix deps.get
.
To start a dev database, run mix docker.db start
.
Setup database with mix ecto.create && mix ecto.migrate
.
Start up server with mix phx.server
.
- [X] Create a
members
model - [X] Add an
event
model, along with sub-models likemusic
,talk
,generic
, andnote
- [X] Add an
events
attribute: an array ofEvent
id’s Consider just blowing it all away/trying to overwrite. Original command was:mix phx.gen.html Program Meeting meetings date:date presiding:string conducting:string visiting:string invocation:references:members benediction:references:members accompanist:string chorister:string opening_hymn:integer sacrament_hymn:integer closing_hymn:integer
Modified command:
mix phx.gen.html Program Meeting meetings date:date presiding:string conducting:string visiting:string invocation:references:members benediction:references:members accompanist:string chorister:string opening_hymn:integer sacrament_hymn:integer closing_hymn:integer topic:string events:array:integer
- [X] Add a
topic
attribute
I think I might have to rip out the :sacrament_hymn bit of the meeting and push that into the events. It’ll have to be a default.
Ashton Wiersdorf <ashton.wiersdorf@pobox.com>