- copy
.env.exampleto.env - fill env values
- create app folder under
/var/www/virtual/user_name/htmlor/home/user_name/html - create symlinks for domain handling
ln -s html/app_folder domain_name - add domain:
uberspace web domain add domain_name - set domain to apache:
uberspace web backend set domain_name --apache - setup Apache with
.htaccess
RewriteEngine On RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
- Setup env vars:
UBERSPACE_USERUBERSPACE_HOSTDEPLOY_KEY_PRIVATEAPP_FOLDERVITE_GOOGLE_CLIENT_ID