Tidy up federation code and add tests to cover more of the APIs
This commit is contained in:
committed by
Christopher Allan Webber
parent
32ff6f4dc0
commit
9246a6ba89
@@ -15,7 +15,13 @@
|
||||
Command-line uploading
|
||||
======================
|
||||
|
||||
Want to submit media via the command line? It's fairly easy to do::
|
||||
If you're a site administrator and have access to the server then you
|
||||
can use the 'addmedia' task. If you're just a user and want to upload
|
||||
media by the command line you can. This can be done with the pump.io
|
||||
API. There is `p <https://github.com/xray7224/p/>`_, which will allow you
|
||||
to easily upload media from the command line, follow p's docs to do that.
|
||||
|
||||
To use the addmedia command::
|
||||
|
||||
./bin/gmg addmedia username your_media.jpg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user