Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Component/s: None
    • Labels:

      Description

      There is a note at Lesson-05 that the "package.json" and perhaps "stripes.config.js" are out-of-date: https://dev.folio.org/tutorials/curriculum/05-set-up-the-folio-users-app/ fixed in FOLIO-1480

      Also Lesson-04 needs review of Stripes material, and either new screenshots or remove them: https://dev.folio.org/tutorials/curriculum/04-deploy-test-stripes-module/

        Attachments

          Issue Links

            Expenses

              Activity

              Hide
              dcrossley David Crossley added a comment -

              There are some new notes in FOLIO-1480 that assist with part of this.

              Show
              dcrossley David Crossley added a comment - There are some new notes in FOLIO-1480 that assist with part of this.
              Hide
              mfronczak Maria Fronczak added a comment -

              Hi there,
              I started looking into the architecture of Okapi and Stripes and I'm much impressed.

              I've gone through the curriculum and it's not in a bad shape, although lessons 4 & 5 are indeed a bit outdated.
              Lesson 4 is outdated consistently and so it works; Lesson 5 (Stripes part) does not work.

              I managed to tweak package.json and make it work.
              Then I stumbled upon the stripes-sample-platform repo and I guess its package.json may spell out the preferred current way to go (judging from the last commit).

              If it is so, something along these lines could be used in Lesson 5 (tested out):

              {
                "scripts": {
                  "build": "stripes build stripes.config.js",
                  "stripes": "stripes",
                  "start": "NODE_ENV=development stripes serve stripes.config.js"
                },
                "dependencies": {
                  "@folio/stripes": "^1.0.0",
                  "@folio/trivial": "^1.2.0",
                  "@folio/users": "^2.17.0"
                },
                "devDependencies": {
                  "@folio/stripes-cli": "^1.5.0"
                }
              }
              

              And, to be consistent, package.json in Lesson 4 could be updated to:

              {
                "scripts": {
                  "start": "NODE_ENV=development stripes serve stripes.config.js"
                },
                "dependencies": {
                  "@folio/stripes": "^1.0.0",
                  "@folio/trivial": "^1.2.0"
                },
                "devDependencies": {
                  "@folio/stripes-cli": "^1.5.0"
                }
              }
              
              Show
              mfronczak Maria Fronczak added a comment - Hi there, I started looking into the architecture of Okapi and Stripes and I'm much impressed. I've gone through the curriculum and it's not in a bad shape, although lessons 4 & 5 are indeed a bit outdated. Lesson 4 is outdated consistently and so it works; Lesson 5 (Stripes part) does not work. I managed to tweak package.json and make it work. Then I stumbled upon the stripes-sample-platform repo and I guess its package.json may spell out the preferred current way to go (judging from the last commit ). If it is so, something along these lines could be used in Lesson 5 (tested out): { "scripts": { "build": "stripes build stripes.config.js", "stripes": "stripes", "start": "NODE_ENV=development stripes serve stripes.config.js" }, "dependencies": { "@folio/stripes": "^1.0.0", "@folio/trivial": "^1.2.0", "@folio/users": "^2.17.0" }, "devDependencies": { "@folio/stripes-cli": "^1.5.0" } } And, to be consistent, package.json in Lesson 4 could be updated to: { "scripts": { "start": "NODE_ENV=development stripes serve stripes.config.js" }, "dependencies": { "@folio/stripes": "^1.0.0", "@folio/trivial": "^1.2.0" }, "devDependencies": { "@folio/stripes-cli": "^1.5.0" } }
              Hide
              dcrossley David Crossley added a comment -

              Thanks. This is very helpful.

              Show
              dcrossley David Crossley added a comment - Thanks. This is very helpful.
              Hide
              dcrossley David Crossley added a comment -

              Done. Lesson 04 and Lesson 05 have now been overhauled.

              We are now back to a working tutorial. Hooray.

              Show
              dcrossley David Crossley added a comment - Done. Lesson 04 and Lesson 05 have now been overhauled. We are now back to a working tutorial. Hooray.

                People

                • Assignee:
                  dcrossley David Crossley
                  Reporter:
                  dcrossley David Crossley
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: