Giter VIP home page Giter VIP logo

amara-quiz's Introduction

amara kosha

This amara kosha application has the following capabilities

  • search the amarakosha (with wildcards) and show results with amara kosha context
  • view amara kosha data by sarga, sloka or pada
  • generate quiz questions for practice

notes

Running locally via docker

  • docker pull aupasana/amara-quiz
  • docker run -p 8888:5000 [aupasana/amara-quiz] // Replace [] as appropriate
  • browse to http://localhost:8888

Local development (via docker)

  • Clone this repo with sub-modules (git clone --recurse-submodules https://github.com/aupasana/amara-quiz.git)
    • If you cloned the main repo earlier, run git submodule update --init --recursive
  • Build a dev container (docker build -t amara-dev -f amara-dev.dockerfile scripts)
  • Run the dev container (docker run -p 8888:5000 -it --rm -v $(PWD):/host amara-dev bash)
  • In the dev container:
    • Go to the local sources (cd /host)
    • Build the databases (./database/init_db_all.sh)
    • Verify that the databases built correctly (ls -la database/*.db)
    • Run locally (./scripts/dev_local.sh)
  • In the host, open a browser and navigate to http://localhost:8888
  • Make changes on the host, and re-run the app from the container cd app && python3 app.py

Build images

  • Build the database image (cd data_babylon && docker build -t aupasana/amara-babylon . && cd ..)
  • Build / test the app image (scripts/docker_build_run.sh)

amara-quiz's People

Contributors

aupasana avatar

Watchers

James Cloos 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.