deployment stuff

This commit is contained in:
2020-02-19 21:49:28 +01:00
parent 40bd02a2ed
commit 921f27e4d8
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
VUE_APP_TITLE=GelegeApp - Dev VUE_APP_TITLE=GelegeApp - Dev
VUE_APP_BASE_URL= http://dev.lifemap.rocks:1337/ VUE_APP_BASE_URL= http://dev-api.lifemap.rocks/
VUE_APP_AUTH_URL= auth/ VUE_APP_AUTH_URL= auth/
VUE_APP_I18N_LOCALE=de VUE_APP_I18N_LOCALE=de
+8
View File
@@ -0,0 +1,8 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
+1
View File
@@ -0,0 +1 @@
ssh -t gelege-app 'bash -i -c "cd /var/www/html/dev/gelegeapp-frontend && git pull && npm install && npm run build && cp .htaccess dist/.htaccess"'