1
0

added service for the mastodon API

This commit is contained in:
Enju Aihara
2022-03-04 18:45:23 +01:00
parent 19abc18f90
commit bde8234a90
2 changed files with 14 additions and 1 deletions
+4 -1
View File
@@ -15,10 +15,13 @@ Copy the preloaded database to the live database
Start the mastodon API
Make sure to edit the `User` and `WorkingDirectory` of the service file accordingly.
```
sudo cp services/mastodon_api.service /etc/systemd/system
cd mastodon_api
yarn install
node .
systemctl start mastodon_api
```
Fill the database with blocks.