NOVA data management prototype

Matthias Vogelgesang 866fe103b6 Allow deletion of dataset 7 years ago
bin 8badc4fdf2 Add "info" command to nova control script 7 years ago
docs 8cc33304ea Document collections 7 years ago
migrations f4e319f61f Add Reconstruction model 7 years ago
nova 866fe103b6 Allow deletion of dataset 7 years ago
.bowerrc ad59e1c366 Initial commit 7 years ago
.gitignore f8641f8f1b Read config from default settings and/or env file 7 years ago
README.md 7a28c62b61 Fix typo 7 years ago
bower.json ad59e1c366 Initial commit 7 years ago
manage.py 1a63d3693a Fix invalid first-time token for admin 7 years ago
requirements.txt 85eb4d79d6 Remove whooshalchuemy for now 7 years ago
setup.py cb82c83bca Allow client closing datasets 7 years ago

README.md

Server

  1. Install Flask and dependencies

    $ pip install -r requirements.txt
    
  2. Install the nova binary

    $ python setup.py install
    
  3. Install frontend dependencies

    $ bower install
    
  4. Create database and initial admin user

    $ python manage.py initdb --name john --fullname "John Doe" --email "jd@jd.com"
    
  5. Run the server

    $ python manage.py runserver
    

If you run from source make sure to upgrade the database with

$ python manage.py db upgrade

Client

  1. Log in and generate a token
  2. Use the token to initialize a directory

    $ cd path/to/dataset
    $ nova init --token 1.xyz --remote http://localhost:5000
    
  3. Push the data to the remote

    $ nova push