Update tutorials/curriculum (FOLIO-1348)

[FOLIO-1349] Update tutorials/curriculum - Stripes Created: 16/Jul/18  Updated: 22/Nov/18  Resolved: 22/Nov/18

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None
Parent: Update tutorials/curriculum

Type: Sub-task Priority: P3
Reporter: David Crossley Assignee: David Crossley
Resolution: Done Votes: 0
Labels: devdoc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-1480 update curriculum with current UI mod... Closed
relates to STRIPES-568 Stripes documentation updates Closed
Sprint:

 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 Closed

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/



 Comments   
Comment by David Crossley [ 11/Sep/18 ]

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

Comment by Maria Fronczak [ 15/Oct/18 ]

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"
  }
}
Comment by David Crossley [ 16/Oct/18 ]

Thanks. This is very helpful.

Comment by David Crossley [ 22/Nov/18 ]

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

We are now back to a working tutorial. Hooray.

Generated at Thu Feb 08 23:12:41 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.