Skip to content

lawhiteley/ATlas

Repository files navigation

ATlas

Atproto-backed clone of meetinghouse.cc.

Screenshot of the ATlas application

Build & Run

If you don't use mise, you can just run the commands inside of mise.toml individually.

Install dependencies:

mise deps

Run locally:

mise dev 

Seeding the local DB with pins can be done by running go run generate_mock_pins.go in the scripts/ directory.

Cut a build:

mise build

Deployment

The service should run locally without any of the below due to the development client exception for localhost. If you wish to deploy this however, you'll need to enable the confidential client by setting the following values:

  • SESSION_SECRET: Any ol' secret. Something like openssl rand -hex 32
  • CLIENT_HOSTNAME: Wherever the service is running (e.g. https://atlas.whiteley.io)
  • CLIENT_SECRET_KEY: EC private key in multibase format. Can be generated with goat key generate -t P-256