Git Product home page Git Product logo

vici.org's Introduction

Vici.org

Codebase for https://vici.org).

Installation

To run this on a local machine, you need a database (MariaDB / MySQL) and a webserver (I use nginx) and PHP (should work on 7.4). See the included nginx config for details.

In /db you'll find sql dumps of two databases:

  • geo.sql.gz
  • vici.sql.gz

geo.sql is used for the reverse geocoder, that displays the name of the location on the /vici/{item} pages. This data is derived from geonames. This dump is not the complete database, it only includes places from a few European countries, like DE, NL, BE, IT, FR, ES.

vici.sql is a complete (October 2023) dump of all data from vici.org, with anonymized used data.

Load both into MariaDB / MySQL.

The vici.org PHP codes gets the required credentials from environment variables. See fastcgi_params in the nginx folder for an example.

If set, the environment variable VICIBASE, is passed to the vici.js javascript widget. This will use it for the base url for data requests it needs to make. So if your local instance runs as http://vici.local, set VICIBASE accordingly.

Tiles

The tiles used in Vici.org are served by tileproxy.

Images

The images served by Vici.org are processed and cached by imageserver.

vici.org's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

merolaika

vici.org's Issues

Add support for `unknown` year of creation

I propose to remove this restriction to not allow unknown for the creation year:

image

This prevents me from fixing a wrong piece of information on one entry and seems unreasonable after all.

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.