NOVA data management prototype
Matthias Vogelgesang 866fe103b6 Allow deletion of dataset | %!s(int64=7) %!d(string=hai) anos | |
---|---|---|
bin | %!s(int64=7) %!d(string=hai) anos | |
docs | %!s(int64=7) %!d(string=hai) anos | |
migrations | %!s(int64=7) %!d(string=hai) anos | |
nova | %!s(int64=7) %!d(string=hai) anos | |
.bowerrc | %!s(int64=7) %!d(string=hai) anos | |
.gitignore | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos | |
bower.json | %!s(int64=7) %!d(string=hai) anos | |
manage.py | %!s(int64=7) %!d(string=hai) anos | |
requirements.txt | %!s(int64=7) %!d(string=hai) anos | |
setup.py | %!s(int64=7) %!d(string=hai) anos |
Install Flask and dependencies
$ pip install -r requirements.txt
Install the nova
binary
$ python setup.py install
Install frontend dependencies
$ bower install
Create database and initial admin user
$ python manage.py initdb --name john --fullname "John Doe" --email "jd@jd.com"
Run the server
$ python manage.py runserver
If you run from source make sure to upgrade the database with
$ python manage.py db upgrade
Use the token to initialize a directory
$ cd path/to/dataset
$ nova init --token 1.xyz --remote http://localhost:5000
Push the data to the remote
$ nova push