Skip to content

OscarPDR/projects_morelab

Repository files navigation

projects_morelab

Web app to manage data within the MORElab research group at DeustoTech, Deusto Institute of Technology.

In order to have the application fully running all the features correctly, the following parameters need to be filled:

> projects_morelab/settings.py

{ ... }

HOST_URL = ''

{ ... }

DATABASES = {
  'default': {
    'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
    'NAME': '',                      # Or path to database file if using sqlite3.
    'USER': '',                      # Not used with sqlite3.
    'PASSWORD': '',                  # Not used with sqlite3.
    'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
    'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
  }
}

{ ... }

EMPLOYEES_PAGINATION = 10
FUNDING_PROGRAMS_PAGINATION = 10
ORGANIZATIONS_PAGINATION = 10
PROJECTS_PAGINATION = 10

{ ... }

# Email settings to allow mail sending from a gmail account
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
DEFAULT_FROM_EMAIL = ''
SERVER_EMAIL = ''
EMAIL_PORT = 587
EMAIL_USE_TLS = True

PROJECTS_RECEPTOR_EMAILS = ['']
PROJECTS_SENDER_EMAIL = ''

Database initialization

There are some fixtures existing inside each app. They can be uploaded when the database its created/updated by the following command from the root folder of the project:

python manage.py syncdb

Launch D2RQ

In order to publish all the data in RDF format, allowing SPARQL queries to be performed, a D2RQ server must be launched. The mapping file can be found in rdf/mapping.ttl, together with relevant documents for the publication following the Linked Data principles.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published