Skip to main content

Main functionalities for the curator core project

Project description

This Django reusable app contains the main functionalities for the curator core project.

Pre-requisites

  • Install git
  • Install python
  • Install pip
  • Create a virtual env

Installation

Automated installation

Warning

The automated installation is not yet available.

Manual installation

$ git clone https://myrepo.com/core_main_app.git
$ cd core_main_app
$ python setup.py
$ pip install sdist/*.tar.gz

Configuration

1. Add “core_main_app” and “tz_detect” to your INSTALLED_APPS setting like this

INSTALLED_APPS = [
    ...
    "tz_detect",
    "core_main_app",
]

2. Add the middleware required by tz_detect

MIDDLEWARE = (
    ...
    'tz_detect.middleware.TimezoneMiddleware',
)

3. Include the core_main_app URLconf in your project urls.py like this

url(r'^', include("core_main_app.urls")),

i18n

Before running the project, don’t forget to compile the translation file at project level. i18n uses the gettext package, so please make sure it is installed prior using this command.

$ python manage.py compilemessages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
core_main_app-1.0.0rc1.tar.gz (1.3 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page