Skip to content

Commit ea40d98

Browse files
committed
documentation
1 parent 0cf1bce commit ea40d98

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ PASSWORD: admin
4040
```bash
4141
pip install django-sshkm
4242
```
43-
- Configure /etc/sshkm/sshkm.conf
44-
If you use sqlite make sure that the user running celery has read and write permissions to the db-file.
43+
- Configure /etc/sshkm/sshkm.conf (create it if it does not exist)
44+
You can find an example in your install directory (example: /usr/lib/python2.7/site-packages/sshkm/sshkm.conf).
45+
If you use sqlite make sure that the user running celery (see next step) has read and write permissions to the db-file.
4546
- Install a webserver which runs wsgi
4647
Example Apache httpd:
4748
```
@@ -51,7 +52,7 @@ Alias /static/ /usr/lib/python2.7/site-packages/sshkm/static/
5152
Require all granted
5253
</Directory>
5354
54-
WSGIScriptAlias / /usr/lib/python2.7/site-packages/sshkm/wsgi.py
55+
WSGIScriptAlias /sshkm /usr/lib/python2.7/site-packages/sshkm/wsgi.py/
5556
WSGIDaemonProcess sshkm user=apache group=apache
5657
WSGIProcessGroup sshkm
5758
@@ -63,6 +64,7 @@ WSGIProcessGroup sshkm
6364
```
6465
- Run celery
6566
```
67+
cd /usr/lib/python2.7/site-packages
6668
celery worker -A sshkm -l info
6769
```
6870

0 commit comments

Comments
 (0)