Update README.md
This commit is contained in:
parent
b3e823a19a
commit
95ef2b9155
14
README.md
14
README.md
@ -9,21 +9,21 @@ Installing
|
||||
|
||||
### Manual installation
|
||||
|
||||
1. First, you need to install "virtualenv". If your system has easy_install, this is
|
||||
1. First, you need to install "virtualenv". If your system has easy_install, this is
|
||||
just a matter of:
|
||||
|
||||
$ easy_install virtualenv
|
||||
|
||||
If your system doesn't have easy_install, I recommend getting it!
|
||||
|
||||
2. Next, you need to create a Python environment for running AnkiServer and install some of
|
||||
2. Next, you need to create a Python environment for running AnkiServer and install some of
|
||||
the dependencies we need there:
|
||||
|
||||
$ virtualenv ankisyncd.env
|
||||
|
||||
$ ankisyncd.env/bin/easy_install webob simplejson
|
||||
|
||||
3. Download and install libanki. You can find the latest release of Anki here:
|
||||
3. Download and install libanki. You can find the latest release of Anki here:
|
||||
|
||||
http://code.google.com/p/anki/downloads/list
|
||||
|
||||
@ -38,13 +38,13 @@ Installing
|
||||
|
||||
b. Copy the entire directory to /usr/share/anki
|
||||
|
||||
4. Copy the example.ini to production.ini and edit for your needs.
|
||||
4. Copy the example.ini to production.ini and edit for your needs.
|
||||
|
||||
5. Create authentication database:
|
||||
5. Create authentication database:
|
||||
|
||||
$ sqlite3 auth.db 'CREATE TABLE auth (user VARCHAR PRIMARY KEY, hash VARCHAR)'
|
||||
|
||||
6. Create user:
|
||||
6. Create user:
|
||||
|
||||
Enter username and password when prompted.
|
||||
|
||||
@ -60,7 +60,7 @@ Installing
|
||||
|
||||
$ unset USER PASS SALT HASH
|
||||
|
||||
7. Then we can run AnkiServer like so:
|
||||
7. Then we can run AnkiServer like so:
|
||||
|
||||
$ ankisyncd.env/bin/python src/sync_app.py
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user