summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-05-10 10:59:49 +0200
committerPatrick Simianer <p@simianer.de>2016-05-10 10:59:49 +0200
commit8dd7a811559deafbe9262f11be2d592617b030a1 (patch)
treee30c76fbbea82f89dd10e56c35e70ec357bb24b4 /README.md
parent189698c044eb3362e65d213c35f425694eba9f27 (diff)
parent6bd7135e6039b0682f49234e42451077413f0bd9 (diff)
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 20 insertions, 5 deletions
diff --git a/README.md b/README.md
index 403d745..a3d4e96 100644
--- a/README.md
+++ b/README.md
@@ -2,20 +2,35 @@
Post-editing interface for learning from post-edited machine translations.
# Setup
+
+`
+ export BASE_DIR=/srv/postedit
+`
+
## nanomsg lib
- export LD_LIBRARY_PATH=/fast_scratch/simianer/lfpe/lib/nanomsg-0.5-beta/lib
+`
+ export LD_LIBRARY_PATH=$BASE_DIR/lib/nanomsg-0.5-beta/lib
+`
## ruby
- [see $(pwd)/lib/ruby/gems/nanomsg-0.4.0/ext/extconf.rb]
- gem install nanomsg -i $(pwd)/lib/ruby
- export GEM_PATH=/fast_scratch/simianer/lfpe/lib/ruby/:$GEM_PATH
+`
+ [see $BASE_DIR/lib/ruby/gems/nanomsg-0.4.0/ext/extconf.rb]
+ gem install nanomsg -i $BSAE_DIR/lib/ruby
+ export GEM_PATH=$BASE_DIR/lib/ruby/:$GEM_PATH
+`
## iptables
+`
iptables -A INPUT -i eth0 -p tcp -m multiport --dports 50000:50100 -j ACCEPT
+`
## apache
+`
ln -s /etc/apache2/sites-available/lfpe /etc/apache2/sites-enabled/020-lfpe
+`
## python
- export PYTHONPATH=/fast_scratch/simianer/lfpe/lib/python:$PYTHONPATH
+`
+ export PYTHONPATH=$BASE_DIR/lib/python:$PYTHONPATH
+`