This is the source code for the fedidevs.com website.
-
Install uv
-
Run the migrations
uv run python manage.py migrate
- Run the development server
uv run python manage.py runserver
- In a separate terminal set up tailwindcss...
uv run python manage.py tailwind install
- ... and start the tailwind server
uv run python manage.py tailwind start
- [optional] ... and start the background worker (only needed for syncing followers on login)
uv run python manage.py rundramatiq --reload
- [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
- [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