NOVA data management prototype

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

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