1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framagames_ynh.git synced 2024-09-03 18:36:28 +02:00

Update of index.html to indicate website path of files to install on the server

This commit is contained in:
polytan02 2015-06-01 20:21:38 +01:00
parent fccc12b6ec
commit bfbfc382f5
2 changed files with 8 additions and 0 deletions

View file

@ -36,6 +36,8 @@ sudo yunohost app setting $app sitename -v $sitename
sudo mkdir -p $final_path
# Base site
sed -i "s@DOMAINTOCHANGE@$domain@g" ../sources/index.html
sed -i "s@SITETOCHANGE@$sitename@g" ../sources/index.html
sudo cp ../sources/index.html $final_path/
# Set permissions

View file

@ -7,6 +7,12 @@
<p>Congratulation, you have just installed your custom web app without ftp access.</p>
<br>
<br>
<p>Place your files in /var/www/webapp_multi/DOMAINTOCHANGE/SITETOCHANGE to install your site.</p>
<br>
<br>
<p>As a reward, here is a random cat picture:</p>
<p><img src="http://thecatapi.com/api/images/get?format=src&type=gif"></p>