How to convert old liveview app to new Phoenix version?

So if I understand correctly:

  • I create a normal phoenix app inside my umbrella via mix phx.new.web APP [--module MODULE] [--app APP]: mix phx.new.web — phx_new v1.7.10
  • Then I go inside the newly created folder and run mix phx.gen.live

And then in theory, I get a Phoenix LiveView app.
There is one problem though:


mix phx.gen.html, phx.gen.json, phx.gen.live, and phx.gen.context
expect a context module name, followed by singular and plural names
of the generated resource, ending with any number of attributes.
For example:

    mix phx.gen.html Accounts User users name:string
    mix phx.gen.json Accounts User users name:string
    mix phx.gen.live Accounts User users name:string
    mix phx.gen.context Accounts User users name:string

The context serves as the API boundary for the given resource.
Multiple resources may belong to a context and a resource may be
split over distinct contexts (such as Accounts.User and Payments.User).

None of this was needed when I first started the old version of the project. I have a feeling there has been a major shift in paradigm here. I don’t understand what I am being asked.

Do you recommend any resources that can walk me through the new version?

Does anyone know if this course is updated enough that the Phoenix part is uppar with 1.6.5?