A framework for the publication of scientific databases
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
daiquiri Add notification on password change Dec 19, 2018
docs Migrate to Django2, drop Python2 support Nov 20, 2018
testing Refactor generate and generate_votable Nov 23, 2018
.coveragerc add daiquiri.serve.utils Aug 28, 2017
.gitignore add tests for query Aug 28, 2017
.travis.yml Fix tests Nov 20, 2018
AUTHORS add AUTHORS Aug 23, 2017
CONTRIBUTING.rst Update CONTRIBUTING.rst Mar 5, 2018
LICENSE initial commit Feb 7, 2016
MANIFEST.in update MANIFEST.in Aug 11, 2017
NOTICE update NOTICE Sep 1, 2017
README.md Convert README to markdown again May 17, 2018
setup.py Update dependencies Nov 20, 2018

README.md

Daiquiri (Django version)

A framework for the publication of scientific databases

Build Status Coverage Status License Latest Version

This project is still in development. gaia.aip.de is based on this version of Daiquiri.

The legacy version of Daiquiri written in PHP can be found here.

Quick start

Install prerequisites

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

git clone https://github.com/aipescience/django-daiquiri-app app

Set up the virtual enviroment and install dependencies

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

Setup Daiquiri

cp config/settings/sample.local.py config/settings/local.py
mkdir log download

./manage.py sqlcreate               # shows the commands to be executed on the database
./manage.py migrate                 # creates database and tables
./manage.py migrate --database=tap  # creates TAP_SCHEMA
./manage.py createsuperuser         # creates admin user
./manage.py 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.