A django app to create/edit/publish story maps using https://storymap.knightlab.com/
Project description
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 envand activate itsource 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-story-map-0.2.1.tar.gz.
File metadata
- Download URL: django-story-map-0.2.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3733d519da1478f80dd0f2e24dcf8cede74763b940a68d435660441568ccd7a
|
|
| MD5 |
fa5b74ccdd5e7cf8d66502202840a529
|
|
| BLAKE2b-256 |
515ebb944f2ca6353f44da5402a8777f7b1dd66a70dbc4960f792101e2bd9e11
|
File details
Details for the file django_story_map-0.2.1-py3-none-any.whl.
File metadata
- Download URL: django_story_map-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e022aa2bdf9aeb2c520376394d0fbb4df7239030a0439fef26bafd57a81c59c8
|
|
| MD5 |
e7f220478dd905badc06f069f3be28a0
|
|
| BLAKE2b-256 |
317e43bf9d8eb2d2b46d96ce1cf7c6c9a331ec7cad2248d53d11c89a24b744f7
|