Giter Site home page Giter Site logo

acdh-oeaw / 4dpuzzle Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 1.0 435.06 MB

A web app to publish data from the Tell el Daba

Home Page: https://4dpuzzle.orea.oeaw.ac.at/

License: MIT License

Python 63.85% HTML 14.38% Jupyter Notebook 0.74% CSS 7.70% JavaScript 13.24% Shell 0.06% Dockerfile 0.03%
django archaeology djangobaseproject

4dpuzzle's Introduction

A Puzzle in 4D - Tell el-Daba

djangobaserprojct based app for A Puzzle in 4D

install

  • clone the repo
  • change into the project's root directory e.g. cd p4d
  • create a virtual environment e.g. virutalenv env and activate it source env/bin/activate
  • install required packages pip install -r requirements_dev.txt
  • run migrations python manage.py migrate
  • start the dev sever python manage.py runserver
  • go to http://127.0.0.1:8000 and check if everything works

Docker

At the ACDH-CH we use a centralized database-server. So instead of spawning a database for each service our services are talking to a database on this centralized db-server. This setup is reflected in the dockerized setting as well, meaning it expects an already existing database (either on your host, e.g. accessible via 'localhost' or some remote one)

building the image

  • docker build -t p4d:latest .
  • docker build -t p4d:latest --no-cache .

running the image

To run the image you should provide an .env file to pass in needed environment variables; see example below:

  • docker run -it -p 8020:8020 --rm --env-file docker.env --name p4d p4d:latest

4dpuzzle's People

Contributors

csae8092 avatar dependabot[bot] avatar karlburkhart avatar simar0at avatar stefanprobst avatar vronk avatar zozlak avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

idletrout

4dpuzzle's Issues

linting

lint all code and set up linting gh-action

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.