my fork of the bluesky client
1## Build / Develop
2
3### SPA Bundle (monolithic static javascript file)
4
5To build the SPA bundle (`bundle.web.js`), first get a JavaScript development
6environment set up. Either follow the top-level README, or something quick
7like:
8
9 # install nodejs
10 nvm install
11 nvm use
12 npm install --global yarn
13
14 # setup tools and deps (in top level of this repo)
15 yarn install --frozen-lockfile
16
17 # run yarn web dev server, if you wanted
18 yarn web
19
20Then build and copy over the big 'ol `bundle.web.js` file:
21
22 # in the top level of this repo
23 yarn build-web
24
25### Golang Daemon
26
27Install golang. We are generally using v1.22+.
28
29In this directory (`bskyweb/`):
30
31 # re-build and run daemon
32 go run ./cmd/bskyweb serve
33
34 # build and output a binary
35 go build -o bskyweb ./cmd/bskyweb/
36
37The easiest way to configure the daemon is to copy `example.env` to `.env` and
38fill in auth values there.