Coder Social home page Coder Social logo

vkrause / openstreetmap-calendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thomersch/openstreetmap-calendar

0.0 0.0 0.0 2.25 MB

osmcal, a Collaborative Calendar for OpenStreetMap-related Events

Home Page: https://osmcal.org

License: Apache License 2.0

Python 69.22% CSS 5.68% Makefile 0.73% HTML 23.42% Dockerfile 0.90% Procfile 0.06%

openstreetmap-calendar's Introduction

OpenStreetMap Calendar

A simple calendar for tracking OpenStreetMap-related activities.

Principles

  • Less, but better.
  • Work hard and be nice to people.

User Documentation

Please look at OpenStreetMap Calendar Documentation for information about integration and API.

Developer Documentation

The repo contains a dev container configuration, so you can develop without having to install all the dependencies on your machine manually. VS Code and PyCharm/IntelliJ have integrated support and you can even use Github Codespaces.

Alternatively you can install like any other Python/Django project. We're using poetry for managing dependencies. Please look at their documentation for installation instructions.

We support Python ≥ 3.11 and PostgreSQL ≥ 15. (Older versions might work, but no guarantees).

Database

You need a running PostgreSQL database with PostGIS installed. If you're using the dev container, the DB is automatically started and set up.

If you set this up manually, make sure you have an empty DB before starting. By default we're using the osmcal for user and DB with no password set. For more details, check osmcal/settings.py.

Running Tests

make test

Developer Server

In order to facilitate testing, you can use a fake login locally without having to setup OAuth first. To do this, scroll down to the footer. In debug mode, there is a link called "Mock login" which will instantly log you in as a normal user.

To prepare for application launch run the database migrations:

make migrate

and then the local server:

make devserver

If you need test data, you can load some using:

make fixtures

API Documentation

The API is described using OpenAPI 3, the schema is located in /api/schema/. The currently live version is visible here.

openstreetmap-calendar's People

Contributors

thomersch avatar dependabot[bot] avatar danieldegroot2 avatar saerdnaer avatar mvexel avatar pietervdvn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.