https://github.com/openlibhums/portico
A Janeway plugin for Portico
https://github.com/openlibhums/portico
janeway-plugin
Last synced: 4 months ago
JSON representation
A Janeway plugin for Portico
- Host: GitHub
- URL: https://github.com/openlibhums/portico
- Owner: openlibhums
- License: agpl-3.0
- Created: 2018-01-22T17:05:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T07:05:37.000Z (over 1 year ago)
- Last Synced: 2024-12-06T21:59:35.399Z (over 1 year ago)
- Topics: janeway-plugin
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# portico
This is a plugin for Janeway that produces zip files for depositing with the Portico service.
This plugin provides both Issue and Article level deposit formats. The archives are sent to portico via SFTP, for which you will need to request
a set of SSH credentials.
## Installation
* Copy the plugin under the plugins directory in your Janeway installation `/path/to/janeway/src/plugins/`
* Install this plugin's requirements with `pip install -r src/plugins/portico`
* Run Janeway's plugin install command: `python src/manage.py install_plugins`
* Run migrations: `python src/manage.py migrate portico`
* Configre the following settings under your Janeway project `settings.py` module:
```
PORTICO_FTP_SERVER = ''
PORTICO_FTP_SERVER_KEY = ''
PORTICO_FTP_USERNAME = ''
PORTICO_FTP_PASSWORD = ''
```
* Restart your Janeway instance
## ECDSA Key
As of late 2022 Portico only supports SFTP, so you will need to get the ECDSA key for their server before depositing. You can get the key by running:
```
ssh-keyscan -t ecdsa ftp.portico.org
```