项目
在 GitHub 查看
kirel/detexify
关于
LaTeX 符号分类器的 Web 前端。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Detexify (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
探索相关项目
加载中…