diff --git a/MANIFEST.in b/MANIFEST.in index 0695317..f72638d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,5 @@ include *.txt *.rst recursive-include anki-bundled * recursive-exclude anki-bundled *.pyc -prune anki-bundle/.git +prune anki-bundled/.git include example.ini logging.conf supervisor-anki-server.conf diff --git a/README.rst b/README.rst index 6929430..31c6f85 100644 --- a/README.rst +++ b/README.rst @@ -99,23 +99,22 @@ Installing your Anki Server from source $ pip install webob PasteDeploy PasteScript sqlalchemy simplejson - Or you can use your the package manager provided by your OS. + Or you can use your the package manager provided by your OS. For example, using Debian:: + + # apt-get install python-webob python-pastedeploy python-pastescript python-sqlalchemy python-simplejson 2. Download and install libanki. You can find the latest release of Anki here: - http://code.google.com/p/anki/downloads/list - - Look for a \*.tgz file with a Summary of "Anki Source". At the time - of this writing that is anki-2.0.11.tgz. - - Download this file and extract. - - Then either: + https://github.com/dae/anki + + Clone the repository. + + $ git clone https://github.com/dae/anki.git - a. Run the 'make install', or + Then rename the directory: - b. Copy the entire directory to /usr/share/anki + $ mv anki anki-bundled 3. Make the egg info files (so paster can see our app):: @@ -129,7 +128,9 @@ Configuring and running your Anki Server a. If you installed from source, it'll be at the top-level. - b. If you installed via 'easy_install' or 'pip', you'll find all + b. If you installed from ``pip``, it's in the ``examples`` subdirectory. + + c. If you installed via 'easy_install', you'll find all the example configuration at ``python_prefix/lib/python2.X/site-packages/AnkiServer-2.X.X-py2.X.egg/examples`` (replacing ``python_prefix`` with the root of your Python and