moved generated gifs to a different place
This commit is contained in:
parent
86900ff45e
commit
1a636fa9c0
3
build.sh
3
build.sh
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
python gif.py
|
|
||||||
python build.py
|
python build.py
|
||||||
|
python gif.py
|
||||||
./sync.sh
|
./sync.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
2
const.py
2
const.py
|
@ -4,5 +4,5 @@ date_format = "%a, %d %b %Y %H:%M:%S"
|
||||||
source = "src"
|
source = "src"
|
||||||
templates = "templates"
|
templates = "templates"
|
||||||
resources = "resources"
|
resources = "resources"
|
||||||
dist = "html"
|
dist = "dist"
|
||||||
summary_max = 10
|
summary_max = 10
|
||||||
|
|
4
gif.py
4
gif.py
|
@ -58,7 +58,7 @@ def make(filename, inp=None):
|
||||||
|
|
||||||
frames[0].save(filename, format="GIF", append_images=frames[1:], save_all=True, duration=100, loop=0)
|
frames[0].save(filename, format="GIF", append_images=frames[1:], save_all=True, duration=100, loop=0)
|
||||||
|
|
||||||
make("images/bg.gif")
|
make("dist/images/bg.gif")
|
||||||
make("images/remotecontrol.gif", inp="images/remotecontrol.png")
|
make("dist/images/remotecontrol.gif", inp="images/remotecontrol.png")
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
images/bg.gif
BIN
images/bg.gif
Binary file not shown.
Before Width: | Height: | Size: 229 KiB |
Binary file not shown.
Before Width: | Height: | Size: 303 KiB |
2
sync.sh
2
sync.sh
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./html/ cheetah:/srv/www/davidovski/html
|
rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./dist/ cheetah:/srv/www/davidovski/html
|
||||||
ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/"
|
ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/"
|
||||||
# git push # push after everything to keep it all backed up
|
# git push # push after everything to keep it all backed up
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="about">
|
<div class="about">
|
||||||
|
|
||||||
<p>Hi, I'm david and this is my place on the net where I dump various files, write blogs and whatever I feel like.</p>
|
<p>Hi, I'm david and this is my place on the net where I dump various files, write blogs and whatever I feel like.</p>
|
||||||
<p>Feel free to explore the above links, or scroll through below. This site is still under contruction... permanently. So expect it to look better (or worse) in the future.</p>
|
<p>Feel free to explore the above links, or scroll through below. This site is still under construction... permanently. So expect it to look better (or worse) in the future.</p>
|
||||||
|
|
||||||
<p>if you want to contact me, you can message me on matrix <code>@davidovski:matrix.org</code> (i will make my own homeserver soon ok?) or discord <code>iksvo#6239</code>. I'll be also happy to reply to any emails, linked at the top of the page</p>
|
<p>if you want to contact me, you can message me on matrix <code>@davidovski:matrix.org</code> (i will make my own homeserver soon ok?) or discord <code>iksvo#6239</code>. I'll be also happy to reply to any emails, linked at the top of the page</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue