Use the doc in the README.md
Run server with:
export AUTHLIB_INSECURE_TRANSPORT=1
export FLASK_ENV=development
flask run
All ActivityPub code (inbound or outbound) needs to have the celery worker running.
export CONFIGTEST=configtest.py
pytest
None yet
Create front/config/local.json
with:
{
"target": "http://127.0.0.1:5000/"
}
Also comment SERVER_NAME
and BASE_URL
in config.py
when in dev.
Run the front with: cd front && npm run dev
Then access to the front on: http://localhost:8081
The backend will be automatically proxified.
Backend:
flake8 .
black .
Frontend:
npm run lint