Skip to content

anze3db/fedidevs

Repository files navigation

Fedidevs

This is the source code for the fedidevs.com website.

Set up dev environment

  1. Install uv

  2. Run the migrations

uv run python manage.py migrate
  1. Run the development server
uv run python manage.py runserver
  1. In a separate terminal set up tailwindcss...
uv run python manage.py tailwind install
  1. ... and start the tailwind server
uv run python manage.py tailwind start
  1. [optional] ... and start the background worker (only needed for syncing followers on login)
uv run python manage.py rundramatiq --reload
  1. [optional] Populate the local database (takes about ~1hr)
uv run python manage.py scheduler --run-now

or run the crawler and indexer separately if you only want to populate account data (takes about ~5mins)

uv run python manage.py crawler
uv run python manage.py indexer
  1. [optional] Create a Django Admin user for http://localhost:8000/admin
uv run python manage.py createsuperuser

Fixing Plauisible hash:

curl -s https://plausible.io/js/script.tagged-events.js | openssl dgst -sha384 -binary | openssl base64

About

Discover amazing developers across the fediverse 🌐

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published