kirel/detexify
À propos
Interface web pour un classificateur de symboles LaTeX.
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalDetexify (Frontend)
LaTeX symbol classifier as a webservice. This is the frontend. Uses https://github.com/kirel/detexify-hs-backend as the backend.
Setup
- Install Ruby 2.1.2 and Bundler
$ bundle$ bundle exec dotenv middleman
Production setup
$ bundle exec middleman build$ bundle exec dotenv rackup- open http://localhost:9292
This runs the frontend locally using the production backend. It is configured via environment variables. To setup the backend locally see https://github.com/kirel/detexify-hs-backend
Tests
Check if all symbols are compiling: $ rspec spec
Tasks
reminder for myself source ~/.aws
Adding symbols
You need Latex installed!
Symbols are configured in lib/latex/symbols.yml.
- Add the symbol
- run the tests
$ rspec spec - Create a Pull-Request
For me:
- generate the symbol sprite
$ bundle exec rake symbols:sprite - Redeploy
git push heroku master
Populate the backend
$ bundle exec dotenv rake populate (uses TRAINCOUCH to populate CLASSIFIER - see .env for defaults)
License
Copyright (c) 2009 Daniel Kirsch, released under the MIT license, see MIT-LICENSE
Explorer des projets similaires
Chargement…