Giter Club home page Giter Club logo

pali's Introduction

Development Environment:

This repository is not actively maintained. Pāli Dictionary and Pāli Tipiṭaka will be re-implemented in Go. Please see paligo.

Set Up Development Environment

  1. Download Go:

    # create a workspace in your home directory
    $ mkdir ~/dev
    # enter workspace
    $ cd ~/dev
    # download Go 1.10.2 for Linux 64-bit
    $ wget https://dl.google.com/go/go1.10.2.linux-amd64.tar.gz
    # uncompress and untar
    $ tar xvzf go1.10.2.linux-amd64.tar.gz

    If you do not follow the above steps, please modify GOROOT and GOPATH in Makefile.

  2. git clone the pali repository and data repository:

    # git clone pali repository
    $ cd ~/dev
    $ git clone https://github.com/siongui/pali.git
    # enter pali repository
    $ cd ~/dev/pali
    # git clone data repository
    $ make clone
  3. Development environment setup:

    $ cd ~/dev/pali
    $ make setup
  4. Run Dictionary Dev Website:

    $ cd ~/dev/pali
    $ make mindicjs
    $ make mindiccss
    $ make dicdevserver
  5. Run Tipiṭaka Dev Website:

    $ cd ~/dev/pali
    $ make mintpkjs
    $ make mintpkcss
    $ make tpkdevserver

Deploy on AWS EC2

See Deploy on AWS EC2.

UNLICENSE

Released in public domain. See UNLICENSE.

References

pali's People

Contributors

quytinh avatar siongui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pali's Issues

files is now deprecated

Greetings!
I noticed that method POST referred a StackOverflow post, while a recent comment to it mentioned that the files API has been deprecated, and so this answer will cease being valid from then end of July 2015.
I'm trying to learn the usefulness of such small updates on StackOverflow. Would this comment help improve your code? I understand that such defect might not happen in real life situation. In that case, do you think this comment can help prevent future bugs (for example, when the code were reused somewhere else)?
I'll really appreciate it if you could kindly give me some feedback or suggestions. Thank you very much for your time.
Have a nice day!

add link to footnotes

for example, if click [1] in texts, jump to footnote 1 at the bottom of the page.

multilingual /about page

server /about page according to http ACCEPT_LANGUAGES header if the url does not start with /{{ locale }}

serve /about page of {{ locale }} language if the url starts with /{{ locale }}

url encoding error on EC2

If special chars like ñ, ṭ, etc. are in the URL, this will cause http 500.
Need to check encoding of the input parameters in URL.

Large spaces between titles [Bug]

On the Canon site, the main menu's titles are having large space. It should be short space like the Dictionaries site. (For example: "Trang_chính". Not "Trang___chính". This problem has just occured on the Canon site. Not on the Dictionaries site.

Mistakes in the Canon's copies

Actually, it is a mistake of arrangement when they made the online version.

In the Aṅguttaranikāya >> Ekakanipātapāḷi >> 9. Pamādādivaggo, the paragraph #81 should belong to chapter 8 (Kalyāṇamittādivaggo) instead of current state.

In the Aṅguttaranikāya >> Ekakanipātapāḷi >> 10. Dutiyapamādādivaggo, the paragraphs 130 to 139 should belong to chapter 11 (Adhammavaggo) instead of current state.

In Vietnamese Canon, those paragraphs are put in right chapters.

I sent an email about this mistakes to source site http://www.tipitaka.org/romn/ and waiting for their response.

I agree with Siong-Ui that we should ask people at the source site to fix the problem first, then we update our site.

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.