Skip to content

Commit

Permalink
Basic upgradetores, add pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikko Forsström committed Jan 12, 2023
1 parent b5681fa commit 3403466
Show file tree
Hide file tree
Showing 8 changed files with 5,418 additions and 14,542 deletions.
2 changes: 1 addition & 1 deletion INVITATION-INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Follow the instructions carefully. Make sure you got the site up and running BEF

If you want to use some other IDE / editor than VSCode, you'll miss out on LiveShare and that is a useful tool here. So maybe you really oughta use VSCode this time even if you like the usual IDE better.

See you at the server, and hey, you should absolutely pull the latest chances in the morning before the session and run `npm install`. I'm pretty sure I'll still update the repo somehow with something, update the packages and / or apply some latest wizardry.
See you at the server, and hey, you should absolutely pull the latest chances in the morning before the session and run `pnpm i`. I'm pretty sure I'll still update the repo somehow with something, update the packages and / or apply some latest wizardry.

We'll start both days at 0900 hours and end at ~1600ish hours.

Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ that you read and follow these instructions **carefully** and **before** the act
- MacOS, Linux or Windows all work.
- In Windows, this works in WSL 2. I often use that myself when hobby coding. Native Windows? I have no clue, I do not care.
- If it doesn't work, just boot it up in some Linux virtual machine.
- Current stable version of Node.js (18.x) and a "normal" default version of `NPM` that comes bundled with the Node version (8.x). It might work on older or newer Node versions too, but no guarantees! Use `nvm` for example to manage multiple Node versions.
- Current stable version of Node.js (18.x) and a "normal" default version of `npm` that comes bundled with the Node version (8.x). It might work on older or newer Node versions too, but no guarantees! Use `nvm` for example to manage multiple Node versions.
- An editor / IDE that supports all the good stuff. I use [VSCode](https://code.visualstudio.com/) myself, and because of the LiveShare code sharing env, you probably should use it too during this training.

## Installation
Expand Down Expand Up @@ -62,9 +62,11 @@ I should use in addition / replacing one of these, please holler!

### Develop

- `npm ci --force`
- `npm i -g pnpm` (just once to install pnpm)

- `pnpm i`
- `cp .env.example .env`
- `npm run start`
- `pnpm run start`

Open browser and go to http://localhost:3000 (if that is reserved for some reason, you might get another port but the terminal should tell you that).
You should see a "beautiful" welcoming screen that contains a duckling and might suggest that some people like suckling on ducklings.
Expand All @@ -73,7 +75,7 @@ There should be more instructions / assertions on the screen. Please read carefu

### Build

- `npm run build`
- `pnpm run build`

Look at `dist/` folder.

Expand Down
Loading

1 comment on commit 3403466

@vercel
Copy link

@vercel vercel bot commented on 3403466 Jan 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.