NOVA data management prototype

Matthias Vogelgesang 7fc173dbad Show thumbnail in dataset overview hace 7 años
bin 8badc4fdf2 Add "info" command to nova control script hace 7 años
docs 8cc33304ea Document collections hace 7 años
migrations d61d6df8a2 Add dataset thumbnails hace 7 años
nova 7fc173dbad Show thumbnail in dataset overview hace 7 años
.bowerrc ad59e1c366 Initial commit hace 7 años
.gitignore f8641f8f1b Read config from default settings and/or env file hace 7 años
README.md 7a28c62b61 Fix typo hace 7 años
bower.json ad59e1c366 Initial commit hace 7 años
manage.py ad59e1c366 Initial commit hace 7 años
requirements.txt bc0093c8aa Add inherited SampleScan model hace 7 años
setup.py cb82c83bca Allow client closing datasets hace 7 años

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