Overview
This week my task was to setup the telescope running locally and tell to my classmates how it went, so here I am :)
Environment setup guide
As a good well-established project, Telescope provides a great environment setup guide, which covers most use cases.
How it went to me
Setting up Telescope locally was kinda a problem to me, since after I run all proper commands like:
- installing
pnpm
globally - installing dependencies with it:
pnmp install
- run unit tests with
pnpm test
I was having an issue with one dependency, so after several attempts to resolve it myself I reached the Telescope's community and filed an issue at the Telescope's github.
About 20 minutes after one of the maintainers reached to me and recommended me a way to resolve my issue that helped.
After that I was able to run the Telescope docker container with the following commands:
pnpm services:start
cp ./src/db/env.example .env
pnpm db:init
- Removing the parser container (I just did it from the Docker UI)
- Run
parser
withpnpm services:start parser
Everything seems to run fine now :)
What I learned
The interesting seen that I have never seen before is pnpm It looks like it is an npm
on steroids. As far as I see it does pretty much what npm
does, but it just has some features that improve package installing speed like caching previously downloaded packages to some global local storage.
Top comments (0)