powerhouse-inc / powerhouse

0 stars 0 forks source link

Devcon & Core dev Demo Scenario (Feel free to update) #372

Open CallmeT-ty opened 5 days ago

CallmeT-ty commented 5 days ago

We'll keep this issue up to date with the current minimum viable demo flow and will increase the detail and polish of it as we move along.

  1. Start from empty, clean, developer environment (IDE)
  2. Install NPM install PH builder package (IDE)
  3. Initialize a new To-Do list project (IDE) 3.1 We’re using npm create document-model-lib instead to create a new project. This does Step 2 & 3 at the same time. It creates a document models project instead of a single todolist doc Model. Do we want support for the case of having a single doc? It would just change the folder structure.
  4. Bring up connect in local instance (CONNECT) 4.1 npm run connect
  5. Create the To-Do list document model (CONNECT) 6.1. Use current version of document model editor and export ZIP file We will use a very rough & basic version of the document model-document model to put all mvp functionality in place and only polish with design after
  6. Generate code from the document model => back to IDE 6.2.npm run generate (feed zip path) 6.3. In the future we don't want to use the zipfile, this generation should be automated
  7. Navigate to Document model reducers ./document-models/todo-list/src/reducers 7.1. Implement actual business logic
  8. Open an empty document model editor 8.1. npm run generate —editor TodoList —document-types “powerhouse/todo-list” 8.2. Create a new To-Do list document in connect, button will appear: Click button to create
  9. Create an empty editor LOCAL_DOCUMENT_MODELS=./document-models npm run connect 9.1 An empty editor To-Do list editor opens up This command is currently only working on connect repository. Mono repo efforts should help solve this?

Open questions Getting the editor to work or auto generation of document model? What about the development flow without using connect?

CallmeT-ty commented 4 days ago

List of issues we defined after first stakeholder meeting.