diff --git a/Makefile.am b/Makefile.am index d9615fa..fc960b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,3 +32,9 @@ DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update + +.PHONY: upload + +upload: + rsync -avhz web/nginx.conf server:spek + rsync -avhz --delete --exclude="*.in" --exclude="nginx.conf" web/ server:spek/static diff --git a/web/app.yaml b/web/app.yaml deleted file mode 100644 index 23f8bb9..0000000 --- a/web/app.yaml +++ /dev/null @@ -1,35 +0,0 @@ -application: spek-project -version: 1 -runtime: python -api_version: 1 - -handlers: -- url: /favicon.ico - static_files: favicon.ico - upload: favicon.ico - mime_type: vnd.microsoft.icon - -- url: /robots.txt - static_files: robots.txt - upload: robots.txt - mime_type: text/plain - -- url: /bitcoin - static_files: bitcoin - upload: bitcoin - mime_type: text/plain - -- url: /version - static_files: version - upload: version - mime_type: text/plain - -- url: / - static_files: index.html - upload: index.html - mime_type: text/html - -- url: /(.*).png - static_files: \1.png - upload: (.*).png - mime_type: image/png diff --git a/web/bitcoin b/web/bitcoin.txt similarity index 100% rename from web/bitcoin rename to web/bitcoin.txt diff --git a/web/index.html b/web/index.html index 0165e09..b5cab40 100644 --- a/web/index.html +++ b/web/index.html @@ -92,7 +92,7 @@ If you like Spek and want to thank its developer feel free to leave a tip: