Giter VIP home page Giter VIP logo

ajapaik-web's Introduction

This is the open-sourced Django project code for https://ajapaik.ee/

Verified working on Python 2.7.13, instructions for installing from source (consider compiling with --enable-optimizations): https://tecadmin.net/install-python-2-7-on-ubuntu-and-linuxmint/

Requires installation of (at least on Ubuntu) libxslt-dev, libpq-dev, python-dev, libgeos-dev, supervisor, certbot, default-jre, sendmail.

Installing certbot (geolocation doesn't work without HTTPS): https://certbot.eff.org/

Requires Solr for searching. Known to work with Solr 4.10.4.

Requires OpenCV for film-still generation. Easiest installation is probably: http://www.pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/ Last tried-working with OpenCV 3.2.0.

scikit-learn, pandas and numpy may require more involved installation than pip -r. These are currently only required for DBSCAN geotag clustering, but may be used for various machine learning purposes in the future.

Ajapaik depends on Postgres PostGIS functionality, with a fresh-enough Postgres, installation should be easy: http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS23UbuntuPGSQL96Apt

The necessary Python modules can be installed by running the following command in the project root. You may want to create and activate a virtualenv first:

  • pip install -r requirements.txt

Let Django handle the database creation, in the project root:

  • python project/manage.py migrate

You'll need your own local settings in project/ajapaik/settings/local.py. You should at least override or specify the following keys:

  • ADMINS
  • MANAGERS
  • DATABASES
  • SECRET_KEY
  • GOOGLE_MAPS_API_KEY
  • GOOGLE_ANALYTICS_KEY
  • ALLOWED_HOSTS

Running tests: source venv/bin/activate python project/manage.py test --settings=ajapaik.settings.test --nomigrations --keepdb

ajapaik-web's People

Contributors

ahtih avatar jaens avatar kristjanh avatar kristokuiv avatar lauriy avatar marguslaak avatar maryu avatar puik avatar ralphleyga avatar sihaelov avatar tarmo888 avatar vadim-zabolotniy avatar

Watchers

 avatar

Forkers

msd110

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.