nansencenter.django

nansencenter.django

Build Status

Set up a Django project for GeoSPaaS

Requirements

Check the meta/main.yml file.

Role Variables

django_project_home: # The main directory for the Django project
django_project_name: # The name of your Django project
django_env_name: # The name of the conda environment 
django_conda_dir: # The directory for the conda environment
django_dirs: # Names and locations for directories related to satellite products
django_apps: # Names of Django apps to include in 'settings.py'
django_urlpatterns: # URLs to add to 'urls.py'
django_pip_pkgs: # Packages to install using PIP

Dependencies

Check the meta/main.yml file.

Example Playbook

---
- hosts: geospaas
  roles:
    - role: nansencenter.django
      django_project_home: '/opt'
      django_project_name: 'project'
      django_env_name: 'py3django'
      django_conda_dir: '/opt/anaconda'
      django_apps:
        - django_forms_bootstrap
        - leaflet
      django_pip_pkgs:
        - django-forms-bootstrap
        - django-leaflet

License

GPLv3

Author Information

Anton Korosov, anton.korosov@nersc.no Nansen Environmental and Remote Sensing Center, https://github.com/nansencenter/

Informazioni sul progetto

Init Django project for Geo-SPaaS

Installa
ansible-galaxy install nansencenter.django
Licenza
lgpl-3.0
Download
351