Added github logoes again, removed scripts folder from git

This commit is contained in:
Kasper Rynning-Tønnesen
2016-03-03 14:06:00 +01:00
parent e5a6f60968
commit 2aab835fbc
7 changed files with 4 additions and 23 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
static/images/thumbnails/
node_modules/
scripts/

View File

@@ -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&nbsp;Facebook

View File

@@ -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>

View File

@@ -1,5 +0,0 @@
#!/bin/bash
cd /var/www/
git stash
git pull
scripts/./setperms.sh

View File

@@ -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

View File

@@ -1 +0,0 @@
ssh -p 1911 root@178.62.251.20 '/var/www/scripts/getnew.sh'

View File

@@ -1,2 +0,0 @@
sudo chmod -R ugo+rwx /var/www