Skip to content

dissemin/no-free-view-no-review

Repository files navigation

No free view? no review!

CI Coverage Status

Sign the pledge: https://nofreeviewnoreview.org/

This is a CAPSH project.

This simple app is powered by Django. To run it, clone the repository, and run:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
echo "from .dev import *" > nfvnr/settings/__init__.py
python manage.py migrate
python manage.py runserver

To deploy it on a web server, see Django's docs.

Configuring ORCID login

Create a superuser to access the admin interface:

python manage.py createsuperuser

Create an ORCID Sandbox account at https://sandbox.orcid.org/

Create OAuth credentials at https://sandbox.orcid.org/developer-tools (enable the public API for that). This gives you a pair of client ID and client secret.

Log into the admin interface at http://localhost:8000/admin/ with your superuser credentials created above.

Create a new social application at http://localhost:8000/admin/socialaccount/socialapp/add/

Select orcid.org as provider Input the client ID and secret in the first two text fields. Add the example.com site to the list of allowed sites (which you can later rename to the actual domain name, but that is not strictly needed). Save the social app.

For production, do the same with https://orcid.org/ instead of https://sandbox.orcid.org/.

About

Pledge not to review for closed-access publications

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published