summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-12-17 16:43:18 +0100
committerPatrick Simianer <p@simianer.de>2017-12-17 16:43:18 +0100
commit48052076f2229141d0482e9569615260786bb09d (patch)
treeb13c9f4b3d7f22a8771374c13c100bdc1ac79cd1
parenta48e97799e23b45a09d3caa5729a45960d42571e (diff)
deployment on uberspace.deHEADmaster
-rwxr-xr-xuberspace.de/upload10
1 files changed, 10 insertions, 0 deletions
diff --git a/uberspace.de/upload b/uberspace.de/upload
new file mode 100755
index 0000000..f8f9c25
--- /dev/null
+++ b/uberspace.de/upload
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# to run this on an uberspace.de account
+
+export HOME=/home/ACCOUNT
+. $HOME/.bash_profile
+export PHP_FCGI_CHILDREN=1
+cd $HOME/sinatra-fileupload-with-tokens
+exec /package/host/localhost/ruby-1.9.3-p551/bin/rackup &> ~/upload.log
+