Skip to content

RNAcentral/rnacentral-backend

Repository files navigation

rnacentral-backend

Installation

  1. Clone Git repository:
git clone --recursive https://github.com/RNAcentral/rnacentral-backend.git
  1. Using the local_settings_example.py file as a template, create the local_settings.py file and change the variables as desired. You will need to set up another database, as the public database uses a version of postgres that is no longer supported by newer versions of Django.

  2. Run the app using Docker:

docker-compose up --build

Tests

To run all tests, use

docker exec -it <container_id> python /backend/manage.py test sequence.tests

Developer details

  1. For QcStatusSerializer, using PrimaryKeyRelatedField instead of CharField avoids a new query to the database. Drf-spectacular will throw a warning message though.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published