2023-03-06 09:48:05 +01:00
|
|
|
# pleroma2nip05
|
|
|
|
|
2023-03-06 12:34:26 +01:00
|
|
|
## Install
|
|
|
|
|
|
|
|
Create a python venv
|
|
|
|
`python3 -m venv venv`
|
|
|
|
|
|
|
|
Activate the venv
|
|
|
|
`python3 -m venv venv`
|
|
|
|
|
|
|
|
Install requirements
|
|
|
|
`pip3 install -r requirements`
|
|
|
|
|
|
|
|
## Create the config file
|
|
|
|
|
|
|
|
Create /etc/pleroma2nip05/config.yml from the config.yml in this repo
|
|
|
|
|
|
|
|
## Configure nginx
|
|
|
|
|
|
|
|
Add this to your Pleroma vhost
|
|
|
|
|
2023-03-06 12:39:58 +01:00
|
|
|
` location /.well-known/nostr.json {
|
2023-03-06 12:34:26 +01:00
|
|
|
proxy_pass http://localhost:5000/json;
|
2023-03-06 12:39:58 +01:00
|
|
|
}`
|