Git Product home page Git Product logo

picture_of_the_day_aggregation_site_2's Introduction

Picture of the Day

About

This is the source code for an aggregation site for various "Picture of the day" sites, written in Django.

Picture of the day sites currently supported:

See also: DEVNOTES.md.

Configuration

Create a virtualenv and install the requirements listed in requirements.txt. The code has been tested with Python 3.4 in mind. See DEVNOTES.md for additional information.

Environment variables

Mandatory

  • DJANGO_SETTINGS_MODULE: The settings module to be used, e.g.:potd_ii.settings.local
  • POTD_II_SECRET_KEY: For Django's SECRET_KEY setting

Optional

If you wish to use PostgreSQL:

  • POTD_II_POSTGRESQL_HOST: Hostname of the DB server - optional, default: localhost
  • POTD_II_POSTGRESQL_DB_NAME: PostgreSQL DB name
  • POTD_II_POSTGRESQL_DB_USER: PostgreSQL user
  • POTD_II_POSTGRESQL_DB_PW: PostgreSQL password

  • POTD_II_SITE_DOMAIN: The domain name, default: http://www.potd.remote (change your hosts file if needed)
  • THUMBNAIL_MAX_SCRAPE_SIZE: maximum pixel width or height for Wikimedia image downloads, default: 2400

Otherwise, a SQLite database (potd_ii_db.sqlite3 at the project source root) will be created if any PostgreSQL environment variable is missing.

Changelog

Currently, there is no changelog; the best option at the moment is to read the commit messages.

License

At this moment, the code is not under a specific license, which means you are not allowed to use it in any way without written permission to do so.

The Python, JavaScript and CSS libraries used are under their respective licenses.

Acknowledgements

Authors

Christoph Haunschmidt: Project lead

See DEVNOTES.md for the libraries used.

picture_of_the_day_aggregation_site_2's People

Contributors

qubitstream avatar

Watchers

 avatar  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.