Quellcode durchsuchen

Add files via upload

Capitan Cloud vor 2 Jahren
Ursprung
Commit
89e3eb95c1
2 geänderte Dateien mit 281 neuen und 0 gelöschten Zeilen
  1. 58 0
      INSTALLATION.md
  2. 223 0
      index.html

+ 58 - 0
INSTALLATION.md

@@ -0,0 +1,58 @@
+# INSTALLATION
+   
+  Installing Musicing is more straightforward than what it could appear..   
+  
+  First, if you use Nginx as reversed proxy just point the root of your web app to /path/to/YourMusicing/Public   
+  where the public content is located:
+  
+  <ol>  
+  <li>The static content hosted should be just of this kind: html, css, js, png, jpg, jpeg, gif, fonts, map, ico</li>   
+  <li>Example of Nginx minimal configuration:
+     
+      server {   
+     
+        listen 80;
+        listen [::]:80;
+    
+        server_name yourMusicing.com;
+     
+        root /var/www/YourMusicing/Public;
+        index index.php; 
+       
+        location / {     
+           
+           if (!-e $request_filename) {
+             rewrite ^(.+)$ /index.php?url=$1 last;
+           }
+        }
+     
+        location ~* ^.+\.(php)$ {     
+          proxy_set_header Host $host;     
+          proxy_set_header X-Real_IP $remote_addr;     
+          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;    
+         
+          proxy_http_version 1.1;     
+          proxy_set_header Connection "";     
+        
+          proxy_pass http://127.0.0.1:8081;        
+        }
+        
+        location ~* ^.+\.(js|map|css|jpg|jpeg|gif|png|ttf|woff|woff2|eot|pdf|html|htm|zip|flv|swf|ico|xml|txt|wav|mp3)$ {
+     
+          gzip on;
+          #gzip_http_version 1.1;
+          gzip_comp_level 6;
+          gzip_types text/css text/javascript application/x-javascript text/html;
+          gzip_min_length 1000;
+
+          expires 30d;
+        }      
+      }     
+     
+     
+  </li>
+  </ol>  
+  
+  Apache instead should have DocumentRoot pointing to /path/to/YourMusicing/Public .   
+  
+  Dan

+ 223 - 0
index.html

@@ -0,0 +1,223 @@
+<!DOCTYPE html>
+<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	
+  <meta charset="UTF-8"/>
+  
+  <meta name="viewport" content="width=device-width, initial-scale=1"/>
+  
+<!--
+    Copyright 2021, 2024, 5 Mode
+
+    This file is part of Musicing.
+
+    Musicing is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    Musicing is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with Musicing. If not, see <https://www.gnu.org/licenses/>.
+ -->
+     
+  <title>Musicing: everyone its music blog.</title>
+	
+  <link rel="shortcut icon" href="Public/favicon.ico" />
+    
+  <meta name="description" content="Welcome to Musicing! Let everyone own its music blog."/>
+  <meta name="author" content="5 Mode"/> 
+  <meta name="robots" content="index,follow"/>
+  <meta name="keywords" content="Musicing,blog,music,blog,on,premise,solution"/>
+  
+  <script src="Public/js/jquery-3.6.0.min.js" type="text/javascript"></script>
+  <script src="Public/js/common.js" type="text/javascript"></script>
+  <script src="Public/js/bootstrap.min.js" type="text/javascript"></script>
+  
+  <link href="Public/css/bootstrap.min.css" type="text/css" rel="stylesheet">
+  <link href="Public/css/style.css?v=1631827555" type="text/css" rel="stylesheet">
+
+  <script>
+  
+  function hideTitle() {
+    $("#myh1").hide("slow");
+  }
+  
+  function startApp() {
+    
+    $("#HCsplash").css("display","none");
+    //$("#HCsplash").hide("slow");
+    $(document.body).css("background","#ffffff");
+	
+    $("#originsDisplay").show();  
+	  
+    $("#frmHC").show();
+  }			
+
+  function _startApp() {
+    setTimeout("startApp()", 1000);    
+  }
+
+  function setOriginsPos() {
+    h=parseInt(window.innerHeight);
+    w=parseInt(window.innerWidth);
+    mytop = parseInt(window.innerHeight - ($("#originsDisplay").height() + 60));
+    $("#originsDisplay").css("top", mytop+"px");
+    setTimeout("hideOrigins()",15000);
+  }
+
+  function hideOrigins() {
+    $("#originsDisplay").css("visibility","hidden");
+  }  
+	  
+  window.addEventListener("load", function() {
+	
+    $("#frmHC").hide();
+    
+    setTimeout("setOriginsPos()", 500);	  
+	  
+    //Splash
+    $("#HCsplash").show();	
+
+  }, true);
+
+  window.addEventListener("load", function() {
+      
+    // Fisnished the Intro load the app..
+    //document.getElementById("vplayer").onended=_startApp;
+    setTimeout("_startApp()", 6000);
+  
+  });
+
+  </script>    
+       
+</head>
+<body style="background:#0d0d0d;">
+
+<div id="HCsplash" style="padding-top: 40px; text-align:center;co-lor:#d4b0dc;color:#FFFFFF;font-family:'Press Start 2P';">
+    <div id="myh1" style="position:relative; top:0px;"><H1>Musicing</H1></div><br><br>
+    <img src="Public/res/AFlogo.png" style="width:310px;">
+</div>  
+  
+<form id="frmHC" method="POST" target="_self" enctype="multipart/form-data" style="display:none;">
+
+<div class="header" style="margin-top:18px;margin-bottom:18px;">
+   <a href="http://musicing.5mode-foss.eu" target="_self" style="color:#000000; text-decoration: none;">&nbsp;<img src="Public/res/AFlogo.png" style="width:22px;">&nbsp;Musicing</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/par7133/Musicing" style="color:#000000;"><span style="color:#119fe2">on</span> github</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:posta@elettronica.lol" style="color:#000000;"><span style="color:#119fe2">for</span> feedback</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="tel:+39-378-0812391" style="font-size:13px;background-color:#15c60b;border:2px solid #15c60b;color:#000000;height:27px;text-decoration:none;">&nbsp;&nbsp;get support&nbsp;&nbsp;</a>
+</div>
+	
+<div style="clear:both; float:left; padding:8px; width:15%; height:750px; border-right: 1px solid #2c2f34; text-align:center;">
+	<div style="padding-left:10px;text-align: left;">
+	  &nbsp;Download<br>	
+	  &nbsp;<a href="https://github.com/par7133/Musicing/archive/refs/tags/v1.0.5.zip">Release 1.0.5 (zip)</a><br>
+	  &nbsp;<a href="https://github.com/par7133/Musicing/archive/refs/tags/v1.0.5.tar.gz">Release 1.0.5 (tar.gz)</a><br>
+	</div>
+    <br><br>
+    <img src="Public/res/AFgenius.png" alt="AG Genius" title="AG Genius" style="position:relative; left:+6px; width:90%; border: 1px dashed #EEEEEE;">
+    &nbsp;<br><br><br>
+    <br><br><br>
+</div>
+
+<div style="float:left; width:85%;height:100%; padding:8px;">
+	
+	<div id="splash" style="border-radius:20px; position:relative; left:+3px; width:98%; background-color:#f0f8fb; padding: 20px; margin-bottom:8px;">	
+	
+	   <button type="button" class="close" aria-label="Close" onclick="close-Splash();" style="position:relative; left:-10px;">
+        <span aria-hidden="true">&times;</span>
+     </button>
+	
+	   Hello and welcome to Musicing!<br><br>
+	   
+	   Musicing is a light, simple, software on premise to build and own your music blog.<br><br>
+	   
+	   Musicing is released under GPLv3 license, it is supplied AS-IS and we do not take any responsibility for its misusage.<br><br>
+	   
+     First step, use the password box and salt fields to create the hash to insert in the config file. Remember to manually set there also the salt value.<br><br>
+	   
+	   As you are going to run Musicing in the PHP process context, using a limited web server or phpfpm user, you must follow some simple directives for an optimal first setup:<br>
+	   <ol>
+	   <li>Check the write permissions of your "data" folder in your web app Private path; and set its path in the config file.</li>
+     <li>Set the default Locale.</li>
+     <li>Set FILE_MAX_SIZE (remember that some PHP settings could limit the upload behaviour of Musicing too)</li>
+     <li>Set BLOG_MAX_POSTS to limit the number of visible posts in the blog.</li>	  
+     <li>Set PAGINATION true or false to give more public access to your data.</li>
+	   </ol>
+         
+	   <br>	
+		
+     You can access your avatar by http://yourdomain.com/&lt;your_avatar&gt;. Login with the password for the admin view. Drag-n-drop all your resources in the browser window.<br><br>
+		
+		 Song file nomenclature: "Playlist~Song Title.mp3".<br><br> 
+		
+	   <a href="/Public/res/screenshot1.png" target="_blank"><img src="/Public/res/screenshot1.png" style="height:230px;width:350px;margin-top:7px;"></a>&nbsp;&nbsp;<a href="/Public/res/screenshot2.png" target="_blank"><img src="/Public/res/screenshot2.png" style="height:230px;width:350px;margin-top:7px;"></a><br><br>
+	
+	Hope you can enjoy it and let us know about any feedback: <a href="mailto:posta@elettronica.lol">posta@elettronica.lol</a>
+	
+        <br><br><br><br><br><br><br>
+     
+	</div>	
+  	
+	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>		
+	
+</div>
+
+</form>
+
+<div id="originsDisplay">
+      <br>
+       &nbsp;<span class="originLabel">Coding:</span>&nbsp;Italy<br>         
+       &nbsp;<span class="originLabel">Server:</span>&nbsp;United States&nbsp;<br>
+       &nbsp;<span class="originLabel"><a href="http://metrica.yandex.com" class="bbb">Metrics</a>:</span>&nbsp;Russia&nbsp;<br>
+      <br>
+</div>   
+	
+<div class="footer">
+<div id="footerCont">&nbsp;</div>
+<div id="footer"><span style="background:#E1E1E1;color:black;opacity:1.0;margin-right:10px;">&nbsp;&nbsp;<a href="dd.html">Disclaimer</a>&nbsp;&nbsp;A <a href="http://5mode.com">5 Mode</a> project and <a href="http://demo.5mode.com">WYSIWYG</a> system. Some rights reserved.</span></div>	
+</div>	
+	
+<script>
+  
+function setFooterPos2() {
+  if (document.getElementById("footerCont")) {
+    //if ($("#Password").val() === "") {  
+    //    tollerance = 48;
+    //  } else {
+    //  tollerance = 15;
+    //}
+    tollerance = 22;  	  
+    $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
+    $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
+  }
+}
+setFooterPos2();
+
+//window.addEventListener("load", function() {
+//    
+//  setTimeout("setFooterPos2()", 4000);
+//
+//}, true);
+  
+</script>  
+
+<!-- Yandex.Metrika counter -->
+<script type="text/javascript" >
+   (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
+   m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
+   (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
+
+   ym(95242728, "init", {
+        clickmap:true,
+        trackLinks:true,
+        accurateTrackBounce:true
+   });
+</script>
+<noscript><div><img src="https://mc.yandex.ru/watch/95242728" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
+<!-- /Yandex.Metrika counter -->
+
+</body>	 
+</html>	 
+