NOVA data management prototype

Raghav Arora 0516c5bb54 Added redirection to desired page on login 6 years ago
docs 8cc33304ea Document collections 7 years ago
migrations 26b7e81575 Added Models for groups 6 years ago
nova 0516c5bb54 Added redirection to desired page on login 6 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 23952abd7c Update README 7 years ago
bower.json 4cb79bd940 Use cookies to move app code to main.js 7 years ago
manage.py 1a63d3693a Fix invalid first-time token for admin 7 years ago
nova.cfg.example c123e3edb8 Add DEBUG to config example 6 years ago
requirements.txt 885ecee5f2 Search with Elasticsearch 7 years ago
setup.py 28f7c4e6ee Add Flask-Script dependency 6 years ago

README.md

Server

  1. Install nova and its dependencies

    $ python setup.py install
    
  2. Install frontend dependencies

    $ bower install
    
  3. Edit the default configuration and store the location

    $ cp nova.cfg.example nova.cfg
    $ export NOVA_SETTINGS=$(pwd)/nova.cfg
    
  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 when pulling

$ 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