Skip to main content

Daiquiri is a framework for the publication of scientific databases.

Project description

Daiquiri (Django version)

**A framework for the publication of scientific databases**

.. image::
:alt: Build Status

.. image::
:alt: Coverage Status

.. image::
:alt: Latest Version

.. image::

This project is currently in an early alpha stage of development and not production ready.

The legacy version of Daiquiri written in PHP can be found `here <>`_.

Quick start

Install prerequisites

.. code:: bash

apt-get install -y git build-essential libxml2-dev libxslt-dev zlib1g-dev libssl-dev
apt-get install -y mariadb-client mariadb-server libmariadb-dev libmariadbclient-dev

More about Daiquiri's prerequisites including different Linux distributions can be found `here <>`_.

Fork the daiquiri-app

.. code:: bash

git clone app

Set up the virtual enviroment and install dependencies

.. code:: bash

cd app
python3 -m venv env
source env/bin/activate
pip install django-daiquiri mysqlclient

Setup Daiquiri

.. code:: bash

cp config/settings/ config/settings/
mkdir log download

./ sqlcreate # shows the commands to be executed on MariaDB
./ sqlcreate_postgres # shows the commands to be executed on Postgres
./ migrate # creates database and tables
./ migrate --database=tap # creates TAP_SCHEMA
./ createsuperuser # creates admin user
./ runserver # runs a development server

Navigate to http://localhost:8000 in your browser.

More detailed installation instructions can be found `here <>`_.

Our development setup is documented `here <>`_.

More documentation will be added soon.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-daiquiri-0.2.tar.gz (451.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page