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:
parent
fccc12b6ec
commit
bfbfc382f5
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue