From fbcca9a5421e4a492fb8e3e8762db35a9418b22d Mon Sep 17 00:00:00 2001 From: Douglas Perkins Date: Fri, 7 Nov 2014 15:21:15 +0900 Subject: [PATCH 1/3] Location of example.ini updated The example.ini file is, when installed via pip, in the subdirectory 'examples'. It's not in the Python library sub-sub-sub directory as previously indicated. --- README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6929430..076deb9 100644 --- a/README.rst +++ b/README.rst @@ -129,7 +129,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 From 3e4978332eebbac97e66a497ecfd6e6b0d34c806 Mon Sep 17 00:00:00 2001 From: Douglas Perkins Date: Sun, 9 Nov 2014 14:46:11 +0900 Subject: [PATCH 2/3] Updating download location. --- README.rst | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index 076deb9..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):: From 57d9142697fc7d97341c5468a2672f9a71f9a71b Mon Sep 17 00:00:00 2001 From: Douglas Perkins Date: Sun, 9 Nov 2014 14:47:20 +0900 Subject: [PATCH 3/3] Fixing typo Should be "anki-pruned" instead of "anki". --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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