I'm curious, why would you put your static web app files on Github
Pages? This is not just inconvenient (due to the way it works, lack of
cache control etc), but is also quite a blatant abuse of their
service.
If you're looking for a CDN, why not just put Cloudflare in front of your sites?
Cal
O
I was just thinking about some free place where to put all my static files
out of my server..
It would be wonderful if this works in a production server, maybe something
with nginx and uwsgi.. Did you try that?
Thanks for this tip!
--
You received this message because you are subscribed to the
I had an idea today that I wanted to share, if anyone finds it helpful or
has feedback.
./manage.py collectstatic
cd $STATIC_ROOT
rm -rf .git/ # optionally don't keep history
git init .
git add .
git commit -m"static files"
git push -f g...@github.com:username/yourrepo master:gh-pages
then set
3 matches
Mail list logo