This commit is contained in:
Kai Hendry
2015-12-21 09:01:32 +00:00
parent f4437e46ef
commit e363394b90
3 changed files with 4 additions and 10 deletions

View File

@@ -12,7 +12,8 @@ RUN apk upgrade --update --available && \
bash \ bash \
vim \ vim \
supervisor \ supervisor \
&& rm -f /var/cache/apk/* && rm -f /var/cache/apk/* \
&& chmod -R 755 /var/lib/nginx
ADD www /srv/http ADD www /srv/http
ADD nginx.conf /etc/nginx/nginx.conf ADD nginx.conf /etc/nginx/nginx.conf

View File

@@ -11,7 +11,7 @@ Requires=docker.service
TimeoutStartSec=0 TimeoutStartSec=0
ExecStartPre=-/usr/bin/docker kill greptweet1 ExecStartPre=-/usr/bin/docker kill greptweet1
ExecStartPre=-/usr/bin/docker rm greptweet1 ExecStartPre=-/usr/bin/docker rm greptweet1
ExecStart=/usr/bin/docker run --name greptweet1 -v /srv/www/greptweet.com:/srv/http/u -p 80:80 hendry/greptweet ExecStart=/usr/bin/docker run --name greptweet1 -v /srv/www/greptweet.com:/srv/http/u -v /home/core/greptweet/www:/srv/http/ -p 80:80 hendry/greptweet
ExecStop=/usr/bin/docker stop greptweet1 ExecStop=/usr/bin/docker stop greptweet1
[Install] [Install]

View File

@@ -24,18 +24,11 @@
<button class="btn btn-primary btn-lg" id="b" type="submit">Fetch tweets</button> <button class="btn btn-primary btn-lg" id="b" type="submit">Fetch tweets</button>
</form> </form>
<p>Tutorial video:
<video controls preload="none">
<source src='gt-intro.mp4' type='video/mp4'>
<track label="English subtitles" kind="subtitles" srclang="en" src="gt-intro.vtt" default>
</video>
</p>
<footer> <footer>
<p><a href=tut-video.html>Tutorial screencast</a></p>
<p>Version: <a href=https://github.com/kaihendry/Greptweet/commit/<?php include("version.txt"); ?>> <p>Version: <a href=https://github.com/kaihendry/Greptweet/commit/<?php include("version.txt"); ?>>
<?php include("version.txt"); ?> <?php include("version.txt"); ?>
</a></p> </a></p>
<p><?php echo 'Current PHP version: ' . phpversion();?></p>
</footer> </footer>
</body> </body>