Git Product home page Git Product logo

archaeologyapp's Introduction

Archaeology database

This repository holds the source for a website that implements a handy database of archaeological sites across the world.

Demo

You can reach the site at http://archdb.tk/ and log in using the following credentials: username: demo, password: demopass

Running

NOTE

Code has been updated to run on Heroku, so if you have account there you can skip following lines and just deploy app there.

Configuration

By default app uses Django's DEBUG set to True and uses sqlite database backend. If you need to change this behaviour, you need to set few environment variables:

You can also set logfile name and allowed hosts with LOGFILE and ALLOWED env vars.

Steps

  1. Setup a virtual environment: virtualenv venv && source venv/bin/activate
  2. Install everything you need: pip install -r requirements.txt
  3. Make migrations and migrate: python manage.py makemigrations archapp && python manage.py migrate
  4. Create default filters: python manage.py loaddata archapp/fixtures/filters.json
  5. Create administrator: python manage.py createsuperuser
  6. Go! python manage.py runserver

If you really like production environments, you probably should consider deployment using nginx and gunicorn: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04

archaeologyapp's People

Contributors

0181532686cf4a31163be0bf3e6bb6732bf avatar biletboh 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.