Skip to content

Commit

Permalink
Add del2sla example
Browse files Browse the repository at this point in the history
  • Loading branch information
zaitcev committed Jun 10, 2012
1 parent 29e4069 commit af4bffa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ currently it is not SSL-aware. There will be no bugging to use SSL
for logins, and no explicit "secure mode". The best approach is still
being searched. Meanwhile, configure Apache like you would for any
SSL-enabled service, then always use https:// schema.

= pre-loading from XML

cd /var/www/slasti
mkdir user
python /home/admin/git/slasti/del2sla.py user /home/admin/tmp/export-user.xml
chown -R apache user
3 changes: 2 additions & 1 deletion INSTALL.mod_wsgi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ mkdir /var/www/slasti/zaitcev
chown apache /var/www/slasti/zaitcev

# Optionally, pre-populate user's database.
python del2sla.py /var/www/slasti/zaitcev z-delicious.xml
python del2sla.py /var/www/slasti/zaitcev export.xml
chown -R apache /var/www/slasti/zaitcev

# You might also want add/edit robots.txt, at least prohibit /login
# (obviously, it adds no extra security, but helps decluttering logs).
Expand Down

0 comments on commit af4bffa

Please sign in to comment.