An implementation of the ATProto statusphere example app but in Go

Tweaks to readme

+2 -2
main

This is a binary file and will not be displayed.

+2 -2
readme.md
··· 14 14 15 15 A few environment variables are required to run the app. Use the `example.env` file as a template and store your environment variables in a `.env` file. 16 16 17 - * PRIVATEJWKS: This is a private JWKS. You can generate one using the same Go OAuth [library](https://github.com/haileyok/atproto-oauth-golang). 17 + * PRIVATEJWKS: This is a private JWKS. You can generate one using the same Go OAuth [library](https://github.com/haileyok/atproto-oauth-golang). Once created, base64 encode it so it's easier to store in your env. 18 18 * SESSION_KEY: This can be anything as it's what's used to encrypt session data sent to/from the client. 19 19 * HOST: This needs to be a http URL where the server is running. For local dev I suggest using something like [ngrok](https://ngrok.com) to run you app locally and make it accessable externally. This is important for OAuth as the callback URL configured needs to be a publically accessable. 20 20 * DATABASE_MOUNT_PATH: This is where you wish the mysql database to be located. 21 21 22 - Run the command `go build -o statuspherego ./cmd/statuspherego/main.go` which will build the app and then `./statuspherego` to run it. 22 + Run the command `go build -o statuspherego ./cmd/main.go` which will build the app and then `./statuspherego` to run it. 23 23 24 24 If running locally I would then run `ngrok http http://localhost:8080` to get your publically accessable URL. 25 25