Coder Social home page Coder Social logo

easyreview's Introduction

EasyReview

Important

EasyReview is currently under development and changes to the API and the database schema are likely to happen.

EasyReview screenshot

Build and run the project

In order to use EasyReview, you first need to create a .env file in the root directory of the project. The file should contain the following variables:

# PostgreSQL
POSTGRES_HOST=postgres
POSTGRES_DB=app_db
POSTGRES_USER=app_db_user
POSTGRES_PASSWORD=supersecretpassword
POSTGRES_PORT=5432

# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=supersecretpassword
BROKER_URL=redis://:supersecretpassword@redis:6379/0
REDIS_CHANNEL_URL=redis://:supersecretpassword@redis:6379/1
CELERY_URL=redis://:supersecretpassword@redis:6379/0

# Django
NEXT_PUBLIC_DJANGO_HOST=localhost # Required for client side API calls
NEXT_PUBLIC_DJANGO_PORT=8000 # Required for client side API calls
NEXT_PUBLIC_DJANGO_SUPERUSER_PASSWORD=supersecretpassword
NEXT_PUBLIC_DJANGO_SUPERUSER_USERNAME=admin
[email protected]

Then, you can build and run the project using the following command:

docker compose up -d

Once setup, you can access the EasyReview web interface at http://localhost:3000 and the API at http://localhost:8000/. The REST API documentation is available at http://localhost:8000/api/.

Adding datasets for review

Datasets can be added either via the external tools URL schema or via EasyReview's REST-API. The following sections describe both options.

Via external tools URL schema

The following URL schema can be used to add datasets to EasyReview:

http://myhost:3000/?siteUrl=<str:siteUrl>&apiToken=<str:apiToken>&datasetPid=<str:datasetPid>

Parameters:

  • siteUrl: The URL of the Dataverse instance where the dataset is hosted.
  • apiToken: The API token of the Dataverse instance where the dataset is hosted.
  • datasetPid: The DOI of the dataset.

easyreview's People

Contributors

jr-1991 avatar dependabot[bot] avatar

Stargazers

Raphaël Tournoy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.