Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anze3db/fedidevs
Discover amazing developers across the fediverse 🌐
https://github.com/anze3db/fedidevs
django fediverse python
Last synced: 2 months ago
JSON representation
Discover amazing developers across the fediverse 🌐
- Host: GitHub
- URL: https://github.com/anze3db/fedidevs
- Owner: anze3db
- License: mit
- Created: 2023-03-25T17:16:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T23:03:33.000Z (9 months ago)
- Last Synced: 2024-04-14T15:23:13.029Z (9 months ago)
- Topics: django, fediverse, python
- Language: Python
- Homepage: https://fedidevs.com
- Size: 2.74 MB
- Stars: 9
- Watchers: 3
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fedidevs
This is the source code for the [fedidevs.com](https://fedidevs.com) website.
## Set up dev environment
0. Install [uv](https://docs.astral.sh/uv/getting-started/installation/)
1. Run the migrations
```
uv run python manage.py migrate
```2. Run the development server
```
uv run python manage.py runserver
```3. In a separate terminal set up tailwindcss...
```
uv run python manage.py tailwind install
```4. ... and start the tailwind server
```
uv run python manage.py tailwind start
```5. [optional] ... and start the background worker (only needed for syncing followers on login)
```
uv run python manage.py rundramatiq --reload
```6. [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
```7. [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
```