benzkji / django-layout Goto Github PK
View Code? Open in Web Editor NEWDjango ~1.11+ project template layout, biased for django-cms. Originally based on lincolnloop/django-layout
License: MIT License
Django ~1.11+ project template layout, biased for django-cms. Originally based on lincolnloop/django-layout
License: MIT License
when creating the virtualenv, right after also do:
pip install --upgrade pip
pip install pip-tools
and move from pip install -r
to pip-sync
no more warnings
as not usable, ATM.
for cmsplugin and app template
instead of compass
so setting up requires no more manual steps (creating domains and ports on the panel.djangoeurope.com, for example)
that supports python3, but needs quite some refactoring.
use wti unicorn scripts and fabfile
get deployed tag/commit message from remote.
git show --no-patch --oneline | cat
git describe --tags (doesnt work without any tag!)
fab live version
tag: update-3.4-9d-5-g82fb4de
commit: 82fb4de raven fix
for basic lockout / brute force protection
for reconfiguring default plugins.
deployment/crontab.txt
run('crontab deployment/crontab.txt')
only for live env.
with example. https://github.com/w0rm/gulp-svgstore#options
for example, deactivating users on live system, get db and media, do a big update procedure, put db and media. done.
as startingpoint for djangocms_my plugin template. note to self: melio
security, man.
http://www.linuxjournal.com/node/1001956
from project.live.sh
to project-live.sh
drop .my_cnf for mysql, no more insecure history files
SPACES!
ckeditor, migrations
make both work out of the box. create
for both scenarios.
for example, for when switching from -e installs to production, having a new python version on the server, etc.
remove all config files (ngins/uswgi/gunicorn/init scripts/whatever) for that env.
not master
with a "generic" processor, that adds the analytics UA for now, and can be extended easily.
index.html with "under maintainance, we'll be right back".
DRY please: use same for title tag and og:title
Bonus
get used to yarn. note to self: meliorat!
so we now if we are on stage or live, during template rendering and in code.
check env.crontab_file
for displaying the fallback, doing some work, then do a normal fab restart
it's not that hard. systemd might be the wrong tool, though. having one systemd/init script for supervisor could be a better solution, as it could also replace cron like things.
note to self: taiga / systemd
so it can be easily transferred to baseplugins, if it's worth it. (conf/settings, default naming, etc)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.