{"id":19447426,"url":"https://github.com/daumann/chronas-application","last_synced_at":"2025-07-22T06:04:25.865Z","repository":{"id":82068944,"uuid":"43619856","full_name":"daumann/chronas-application","owner":"daumann","description":"History application of the Chronas project","archived":false,"fork":false,"pushed_at":"2017-03-05T23:55:42.000Z","size":13773,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-25T01:42:58.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://chronas.org/history","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daumann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-04T00:28:42.000Z","updated_at":"2018-12-08T15:07:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"824d41eb-3c67-4bce-97a1-f6a6f7eb057a","html_url":"https://github.com/daumann/chronas-application","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daumann/chronas-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daumann%2Fchronas-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daumann%2Fchronas-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daumann%2Fchronas-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daumann%2Fchronas-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daumann","download_url":"https://codeload.github.com/daumann/chronas-application/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daumann%2Fchronas-application/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265191241,"owners_count":23725283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T16:17:58.073Z","updated_at":"2025-07-13T19:08:22.049Z","avatar_url":"https://github.com/daumann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Chronas History Application\n=========\n\nChronas adds a time slider to a leaflet map. Originally forked from uMap which lets you create maps with OpenStreetMap layers and embed them in your site.\n*Because we think that the more OSM will be used, the more OSM will be ''cured''.*\nIt uses [django-leaflet-storage](https://github.com/umap-project/django-leaflet-storage) and [Leaflet.Storage](https://github.com/umap-project/Leaflet.Storage),  built on top of Django and Leaflet.\n\n\n## Quickstart\n\nCreate a geo aware database. See [Geodjango doc](https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/) for backend installation.\n\nCreate a virtual environment\n\n    virtualenv umap\n    source umap/bin/activate\n\nInstall dependencies and project (make sure you the library libpq-dev installed)\n\n    cd YOUR_SOURCE_DIR\n    pip install -r requirements.txt\n    pip install -e .\n\nCreate a default local settings file\n\n    cp umap/settings/local.py.sample umap/settings/local.py\n\nAdd database connexion informations in `local.py`, for example\n\n    DATABASES = {\n        'default': {\n            'ENGINE': 'django.contrib.gis.db.backends.postgis',\n            'NAME': 'umap',\n        }\n    }\n\nAdd a `SECRET_KEY` in `local.py` with a long random secret key\n\n    SECRET_KEY = \"a long and random secret key that must not be shared\"\n\nChronas (uMap) uses [django-social-auth](http://django-social-auth.readthedocs.org/) for user authentication. So you will need to configure it according to your\nneeds. For example\n\n    AUTHENTICATION_BACKENDS = (\n        'social_auth.backends.contrib.github.GithubBackend',\n        'social_auth.backends.contrib.bitbucket.BitbucketBackend',\n        'social_auth.backends.twitter.TwitterBackend',\n        'django.contrib.auth.backends.ModelBackend',\n    )\n    GITHUB_APP_ID = 'xxx'\n    GITHUB_API_SECRET = 'zzz'\n    BITBUCKET_CONSUMER_KEY = 'xxx'\n    BITBUCKET_CONSUMER_SECRET = 'zzz'\n    TWITTER_CONSUMER_KEY = \"xxx\"\n    TWITTER_CONSUMER_SECRET = \"yyy\"\n\nExample of callback URL to use for setting up OAuth apps\n\n http://umap.foo.bar/complete/github/\n\nAdapt the `STATIC_ROOT` and `MEDIA_ROOT` to your local environment.\n\nCreate the tables\n\n    python manage.py migrate\n\nCollect and compress the statics\n\n    python manage.py collectstatic\n    python manage.py compress\n\nAdd a site object\n    python manage.py shell\n    from django.contrib.sites.models import Site\n    Site.objects.create(name='example.com', domain='example.com')\n\nStart the server\n\n    python manage.py runserver 0.0.0.0:8000\n\nGo to the admin (http://localhost:8000/admin/) and add:\n\n- at least one license\n- at least one tile layer\n\n## Search\n\nChronas uses Postgresql tsvector for searching. In case your database is big, you\nmay want to add an index. For that, you sould do so:\n\n    CREATE EXTENSION unaccent;\n    CREATE EXTENSION btree_gin;\n    ALTER FUNCTION unaccent(text) IMMUTABLE;\n    ALTER FUNCTION to_tsvector(text) IMMUTABLE;\n    CREATE INDEX search_idx ON leaflet_storage_map USING gin(to_tsvector(unaccent(name)), share_status);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaumann%2Fchronas-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaumann%2Fchronas-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaumann%2Fchronas-application/lists"}