mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added github logoes again, removed scripts folder from git
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
static/images/thumbnails/
|
||||
node_modules/
|
||||
scripts/
|
||||
|
||||
@@ -97,9 +97,9 @@
|
||||
<div class="col l4 offset-l2 s12 valign-wrapper">
|
||||
<ul>
|
||||
<li>
|
||||
<!--<a href="https://github.com/zoff-music/">
|
||||
<a href="https://github.com/zoff-music/">
|
||||
<img title="Contribute on GitHub" src="/static/images/GitHub_Logo.png" alt="GitHub" />
|
||||
</a>-->
|
||||
</a>
|
||||
<p>
|
||||
<a id="facebook-code-link" class="waves-effect waves-light btn light-blue share shareface" href="https://www.facebook.com/sharer/sharer.php?u=http://<?php echo $_SERVER['HTTP_HOST'].'/'.$list; ?>" target="popup" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=http://<?php echo $_SERVER['HTTP_HOST'].'/'.$list; ?>','Share Playlist','width=600,height=300')">
|
||||
<img class="left" src="/static/images/facebook.png" alt="Share on Facebook" />Share on Facebook
|
||||
|
||||
@@ -24,7 +24,7 @@ if(isset($_GET['chan'])){
|
||||
<li><a class="waves-effect green" title="Remote control a Zöff player" href="https://remote.zoff.no">Remote</a></li>
|
||||
<li><a class="modal-trigger waves-effect waves-orange" onclick="$('#about').openModal()">About</a></li>
|
||||
<li><a class="modal-trigger waves-effect waves-yellow" onclick="$('#legal').openModal()">Legal</a></li>
|
||||
<!--<li><a class="waves-effect waves-purple" href="https://github.com/zoff-music/">GitHub</a></li>-->
|
||||
<li><a class="waves-effect waves-purple" href="https://github.com/zoff-music/">GitHub</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd /var/www/
|
||||
git stash
|
||||
git pull
|
||||
scripts/./setperms.sh
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
apt-get update
|
||||
apt-get install -y npm
|
||||
apt-get install -y nodejs
|
||||
npm install -g forever
|
||||
ln -s /usr/bin/nodejs /usr/bin/node
|
||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/server
|
||||
forever stopall
|
||||
CMD="forever start -l /var/log/zoff.log -a --workingDir $DIR $DIR/server.js"
|
||||
crontab -l | { cat; echo "@reboot" $CMD; } | crontab -
|
||||
$CMD
|
||||
echo $CMD
|
||||
@@ -1 +0,0 @@
|
||||
ssh -p 1911 root@178.62.251.20 '/var/www/scripts/getnew.sh'
|
||||
@@ -1,2 +0,0 @@
|
||||
sudo chmod -R ugo+rwx /var/www
|
||||
|
||||
Reference in New Issue
Block a user