Social reading and reviewing, decentralized with ActivityPub
Find a file
2020-01-28 11:45:27 -08:00
fedireads Code cleanup 2020-01-28 11:45:27 -08:00
.gitignore Basic app structure 2020-01-24 22:32:41 -08:00
manage.py Basic app structure 2020-01-24 22:32:41 -08:00
README.md Install instructions 2020-01-27 18:59:49 -08:00
rebuilddb.sh Federated following 2020-01-26 19:50:22 -08:00
requirements.txt Fixes pillow requirement 2020-01-27 23:06:58 -08:00

fedireads

Social reading and reviewing, decentralized with ActivityPub

Setting up the developer environment

You will need postgres installed and running on your computer.

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
createdb fedireads

Create the psql user in psql fedireads:

CREATE ROLE fedireads WITH LOGIN PASSWORD 'fedireads';
GRANT ALL PRIVILEGES ON DATABASE fedireads TO fedireads;

Initialize the database

./rebuilddb.sh

This creates two users, mouse with password password123 and rat with password ratword.

And go to the app at localhost:8000

For most testing, you'll want to use ngrok. Remember to set the DOMAIN in settings.py to your ngrok domain.