Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.
/ translation-old Public archive

Task Translation System for IOI competitions (used in IOI 2014-2015)

Notifications You must be signed in to change notification settings

ioi/translation-old

Repository files navigation

Linguist

Web-based Task Translation Service for IOI competitions. This project has been proven at IOI2014 in Taiwan.

Features

  • Markdown syntax with mathematical expression support
  • Enhanced web-based editor with live-preview
  • PDF generation for printing
  • Revision history
  • Collaboration (on different tasks)
  • ISC notification broadcast
  • Right-to-left language support

Screenshot

Live-preview Markdown editor with ISC notification broadcast

Disclaimer

  • A few open-source projects/resources are included within this repository; all of the copyrights of such projects/resources belong to their respective owners
  • The service quality is not guaranteed

Todo/Roadmap

  • Clean up this repository
  • Re-write the live preview to support synchronous scrolling
  • Check the compatibility with Google Chrome
  • Support Docker for depolyment
  • Enhance right-to-left language experience

Deployment Steps

  1. Ubuntu Desktop 14.04+ is highly recommended
  2. Internet access is a must during deployment
  3. Check and Run deploy.sh to prepare the environment
  4. Launch redis-server
  5. Update config.yml to use new private keys
  6. Launch app server shotgun -o 0.0.0.0 -p 8080
  7. Check users.json and tasks.json in DbInit/ to prepare initial data
  8. Change working directory to DbInit/ and Run ruby dbinit.rb
  9. Visit http://127.0.0.1:8080

Troubleshooting

  1. Font issue on Amazon EC2 instance
    • Amazon EC2 instance comes without Desktop environement, therefore you'll need to install fonts by sudo apt-get install fontconfig fontconfig-config fonts-dejavu-core fonts-droid fonts-freefont-ttf fonts-kacst fonts-kacst-one fonts-khmeros-core fonts-lao fonts-liberation fonts-lklug-sinhala fonts-nanum fonts-opensymbol fonts-sil-abyssinica fonts-sil-padauk fonts-takao-pgothic fonts-thai-tlwg fonts-tibetan-machine fonts-tlwg-garuda fonts-tlwg-kinnari fonts-tlwg-loma fonts-tlwg-mono fonts-tlwg-norasi fonts-tlwg-purisa fonts-tlwg-sawasdee fonts-tlwg-typewriter fonts-tlwg-typist fonts-tlwg-typo fonts-tlwg-umpush fonts-tlwg-waree -y
    • Thank @myungwoo. See issue #4 for details.

Contribution Welcome

  • Submit pull requests
  • Push commits directly
  • Report issues

License

The MIT License (MIT)

Copyright (c) 2014 Shao-Chung Chen dannvix@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Task Translation System for IOI competitions (used in IOI 2014-2015)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •