apnet
apnet copied to clipboard
source code of activitypub.network
apnet
A minimal ActivityPub network directory, powered by a curated SQLite database provided by FediDB
Installation
- Clone the source code
git clone https://github.com/dansup/apnet.git
- Change directory
cd apnet
- Install composer deps
composer install
- Copy .env file
cp .env.example .env
- Generate app key
php artisan key:generate
- Edit .env
DB_DATABASEpath
You need to edit this value to the full path to the sqlite database in the storage/app/ directory
DB_DATABASE=/path/to/storage/app/fedidb_public.db
- Optional: Start dev server
php artisan serve
Note: We don't recommend using this method in production, instead setup nginx or apache