More will come later, but for right now, this repo will verify that you can install and run what you need to for the workshop.
This workshop uses Node.js for the code and Docker for running databases.
- Install Node.js v12.13.1
- If you're on MacOS or *nix, I recommend
nvm - If you're on Windows, I've heard good things about
nvm-windows
- If you're on MacOS or *nix, I recommend
- Install Docker for your platform
From within the project folder, run npm install
- Run databases
docker-compose rm -sfdocker-compose up
- Run verification script from this repo
nvm usenpm installnode script/verify-installation.js- Your results should look something like:
$ node script/verify-installation.js
Wrote message: bd78ff30-7802-45e2-bedd-5f34ce6e529d
Read back: {
"id": "bd78ff30-7802-45e2-bedd-5f34ce6e529d",
"stream_name": "verification-9d34a597-52d4-4b10-8b1e-955a6cfe283a",
"type": "InstallationVerified",
"position": "0",
"global_position": "2",
"data": "{\"verified\": \"2019-12-15T07:32:46.103Z\"}",
"metadata": "{}",
"time": "2019-12-15T14:32:46.135Z"
}
There are slides for this workshop.
The script we'll follow is in the instructor-guide.md file in this repo.
- A database view, such as TablePlus (https://tableplus.com/). It absolutely does not have to be this particular one, but you will benefit greatly from having something that will let you view the contents of the databases started in the
docker-compose.ymlfile.