See TOPMATTER.
- prereqs
git,python-pip,mongodb
git clone /var/www/homelessgaffer.com
cd /home/$USER
git init --bare homelessgaffer.git
mv homelessgaffer.git/hooks homelessgaffer.git/hooks.bak
ln -s /var/www/homelessgaffer.com/.githooks ./homelessgaffer.git/hooks/var/www/homelessgaffer.commust be owned by user, add write to group?- if needed set
baseDirinhomelessgaffer.git/hooks/post-receive - edit
/etc/sudoersto add
cldershem ALL= NOPASSWD: /usr/sbin/service nginx \*
cldershem ALL= NOPASSWD: /usr/sbin/service uwsgi \*- fill out secrets.py
cp secrets.py.example secrets.py- setup virtualenv
sudo apt-get install virtualenv
sudo pip install virtualenvwrapper
mkvirtualenv hg
workon hg
pip install -r requirements.txt- create admin user
cd /var/www/homelessgaffer.com
python manage.py create_admin- run dev server
workon hg
python manage runUse issue tracker.
Tracked at issue tracker.
- moved all issues/requests/etc to github issue tracker
manage backup_dbbacks up and zips locally (not remotely)create_adminworks with recaptcha properlycreate_adminworks with recaptcha inapp.formscommented out.- moved
get_activation_linkand the like to staticmethods under User - added google analytics
- updated githooks to work with virtualenvwrapper
- using virtualenvwrapper
- replace
run.pywithpython manage.py run - begin work on
manage.py - change
app.models.Unity.get_unique()toapp.models.Unity.get() - bug fix: title
pagewhen reloading page from submission error - remove
<strong>from page numbers - abstracted db calls out
- instead of
User.objects.get(tag='taco')useUser.find()
- instead of
- add
secrets.py.example - add docstrings for a lot of things
- draft mode for new pages and posts working
- viewable only by author or admin
- hg.com/page/newpagetitle/draft (uses new/edit template)
- begin work on new navbar
- disqus implemented.
- add
DEBUGback to config - add testing disqus db
- hashed password reset link oldpwd has inside of payload
- remove google and facebook login that was never finished
- password reset link cannot be reused
- added oldpwdhash to payload
- fix bug where login wouldn't work with extra whitespace (common on phones)
- update
flask-pagedown - commented out blog and page
- add
unity.summary - begin work on updated resume
- githook fixed
- fix bug where
unity.tagsandunity.sourcesshow up when empty - fix admin pages not having authentication
- only admin can login
- fix static html file page
- renamed
pagetopageTitle - add
pageTitleto title bar - fix
SourcesasTagListField - fixed unity/edit tags is populated with "[]"
- fix edit post error where slug would be duplicate
- add custom
TagListField - removed ckeditor
- Unity working.
- fixed
if server: debug=FalseDEBUGflag now set inapp/__init__.py
- sidebar block added to base template
- add markdown support
- add pagedown editor with preview
- remove ckeditor from templates
- add
[[wikilink]]support
- made forms into a macro
- disabled user registration until needed
- fixed
BASE-DIRin pre hook - finished user blueprint
- finished blog blueprint
- finished Page Blueprint
- fixed listpages
- Page Blueprint add
currentPagenavButtonworks again- added
anon-requireddecorator - added forgot password
- user confirm email uses token
- user can only login after confirmation
- added confirmation email
flask-mailis asyncflask-mailsetup- added
constants.py - dateTimeNow deprecated,
DATE_TIME_NOWreplaces - git hook downloads js libraries
- git hook restarts nginx, uwsgi PROPERLY!!!!!!
- rewrote git hooks in python, added flake8
- added githooks to repo and created working symlinks
- githook only runs pip when changes
- added post-receive githook for
pip install -r requirements.txt - added pre-commit githook for pip freeze
- added
secrets.py - added recaptcha
- set up
bcrypt - fixed vim on hg.com
- changed all times to utc
- no page number if only one page
- added pagination on posts
- add https
- flask admin working