Current live version available at: www.repo.scoap3.org
SCOAP3 is a one-of-its-kind partnership of over three-thousand libraries, key funding agencies and research centers in 43 countries and 3 intergovernmental organizations. Working with leading publishers, SCOAP3 has converted key journals in the field of high-energy physics to open access at no cost for authors. SCOAP3 centrally pays publishers for costs involved in providing their services, publishers, in turn, reduce subscription fees to all their customers, who can redirect these funds to contribute to SCOAP3. Each country contributes in a way commensurate to its scientific output in the field. In addition, existing open access journals are also centrally supported, removing any existing financial barrier for authors.
SCOAP3 journals are open for any scientist to publish without any financial barriers. Copyright stays with authors, and a permissive CC-BY license allows text- and data-mining. SCOAP3 addresses open access mandates at no burden for authors. All articles appear in the SCOAP3 repository for further distribution, as well as being open access on publishers’ websites.
License: MIT
Python 3.11
You can also use pyenv for your python installations. Simply follow the instructions and set the global version to 3.8.
install poetry https://poetry.eustace.io/docs/
curl -sSL https://install.python-poetry.org | python3 - --version 1.1.14Please follow the instructions https://github.com/nvm-sh/nvm#installing-and-updating
For running the front-end pipeline, install v18.16.0
nvm install 18.16.0
nvm use global 18.16.0
install pre-commit https://pre-commit.com/
curl https://pre-commit.com/install-local.py | python -And run
pre-commit installFollow the guide https://docs.docker.com/compose/install/
If you don't want to use the makefile, make sure the .envs/local/ files are loaded.
make servicesor
docker-compose up -d mailhog mq opensearch celerybeat redis dbdocker-compose exec django python manage.py makemigrationsor
poetry run python manage.py makemigrationsdocker-compose exec django python manage.py migrateor
poetry run python manage.py migratemake celeryor
poetry run poetry run celery -A config.celery_app worker --loglevel=infomake djangoor
poetry run python manage.py runserver 0.0.0.0:8000make webpackor
npm run devIn scoap3/ui:
yarn devdocker-compose upAfter startup, the application should be available at localhost:3000
To flush all tables, run:
docker-compose exec django python manage.py flushor
poetry run python manage.py flushBe sure to type yes otherwise the flush won't execute!
To insert some demo data and create a superuser with the following credentials:
- Username: admin
- Password: admin
make sure the db is flushed otherwise it could cause some duplicate errors and run:
docker-compose exec django python manage.py loaddata localor
make load-demo-datadocker-compose run --rm django pytestFor running the tests you only need the django, db, redis and mq service. You can start only the needed services using
docker-compose run djangoTo run the tests, use:
poetry run pytestOr start the services and docker using the makefile and run:
make tests[TODO]