Commit 7cc89d4d by Bruno Bzeznik

Update of phylodump

parent 2ce3dbd6
......@@ -38,12 +38,13 @@ Usage:
cp phylodb-container.nix /etc/nixos/
* Clone phylodb and phylodump (for example into `~/git/phylodb` and `~/git/phylodump`)
* Check that you don't have any local http server running on your host (or it will conflict with the phylodev one)
* Launch the initialization script that will start the container and finalize the phylodb installation:
sudo ./ ~/git/phylodb
sudo ./ ~/git/phylodb ~/git/phylodump
* Connect your browser to (the default login is "admin" and the password is "phylodev").
......@@ -42,11 +42,12 @@ then
echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', '', 'phylodev')" | python3 shell
# Load data
if [ -f $PHYLODUMP_DIR/phylodb_dump.json ]
if [ -f $PHYLODUMP_DIR/editor_db.json ]
## Loading from a dump
echo "Dump found, loading it..."
python3 loaddata $PHYLODUMP_DIR/phylodb_dump.json
python3 loaddata $PHYLODUMP_DIR/editor_db.json
python3 loaddata --database=browser_db $PHYLODUMP_DIR/browser_db.json
## Direct loading
# Load sample data
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment