CivicSpleen / metaeditor

A Django application for eidting metadata of public datasets.
MIT License
1 stars 0 forks source link

metaeditor

A Django application for editing metadata of public datasets.

Install.

Social authentication setup.

Given you are running metaeditor app on metaeditor.org

Google.

Facebook.

Email notification setup.

  1. Add your email to ADMINS settings.
  2. Set up your email account as described here https://sendgrid.com/docs/Integrate/Frameworks/django.html

Importing initial data.

Importing sources.

Sources will be imported from editor/data/sources.csv.

To import sources use load_sources management command:

python manage.py load_sources

If you already have sources call load_sources with --delete option. (this will delete all dataset too):

python manage.py load_sources --delete

Testing

Running unit tests

Install dependencies from requirements_dev.txt. Run

python manage.py test

Running functional tests (Requires Firefox)

Install dependencies from requirements_dev.txt. Add lettuce to INSTALLED_APPS. Run

python manage.py harvest --no-server editor/features