Skip to main content

A django app to create/edit/publish story maps using https://storymap.knightlab.com/

Project description

Test flake8 Lint codecov

Django Story Map

A django app to create/edit/publish story maps using https://storymap.knightlab.com/

install

  • clone the repo
  • change into the project's root directory e.g. cd django-story-map
  • create a virtual environment e.g. virutalenv env and activate it source env/bin/activate
  • install required packages pip install -r requirements_dev.txt
  • run migrations python manage.py migrate
  • start the dev sever python manage.py runserver
  • go to http://127.0.0.1:8000 and check if everything works

Docker

At the ACDH-CH we use a centralized database-server. So instead of spawning a database for each service our services are talking to a database on this centralized db-server. This setup is reflected in the dockerized setting as well, meaning it expects an already existing database (either on your host, e.g. accessible via 'localhost' or some remote one)

building the image

  • docker build -t dsm:latest .
  • docker build -t dsm:latest --no-cache .

running the image

To run the image you should provide an .env file to pass in needed environment variables; see example below:

  • docker run -it -p 8020:8020 --rm --env-file env.default --name dsm dsm:latest

This project was bootstraped by djangobase-cookiecutter

Project details


Download files

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

Source Distribution

django-story-map-0.2.1.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

django_story_map-0.2.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page