anki/README.development
2014-04-12 13:43:05 +09:00

45 lines
1.5 KiB
Plaintext

Please see the README file for basic requirements.
In addition to the basic requirements, you also need the PyQt development
tools (specifically pyrcc4 and pyuic4). These are often contained in a
separate package on Linux, such as 'pyqt4-dev-tools' on Debian/Ubuntu. On a Mac
they are part of the PyQt source install.
WINDOWS USERS: I have not tested the UI build script on Windows, so you'll need
to fix any problems you encounter on your own. If you can't figure it out, you
can still use the source packages of Anki, which contain pre-built copies
of the UI.
To use the development version:
$ git clone https://github.com/dae/anki.git
$ cd anki
$ ./tools/build_ui.sh
If you get any errors, you will not be able to proceed, so please return to
the top and check the requirements again.
ALL USERS: Make sure you rebuild the UI every time you git pull, otherwise you
will get errors down the road.
The translations are stored in a bazaar repo for integration with Launchpad's
translation services. If you want to use a language other than English:
$ cd ..
$ mv anki dtop # i18n code expects anki folder to be called dtop
$ bzr clone lp:anki i18n
$ cd i18n
$ ./update-mos.sh
$ cd ../dtop
And now you're ready to run Anki:
$ ./runanki
If you get any errors, please make sure you don't have an older version of
Anki installed in a system location.
Before contributing code, please read the LICENSE file.
If you'd like to contribute translations, please see the translations section
of http://ankisrs.net/docs/manual.html#_contributing